From: Kyle on
Hey all,

I am using meshc() to plot several 2D matrices. I want all of them to be on the same scale, and I want the colors of all the plots of be scaled according to the maximum value of the matrix that contains the max value so that the plots are easier to compare directly.

How can I force the value by which meshc scales the colors?

Kyle
From: Walter Roberson on
Kyle wrote:


> How can I force the value by which meshc scales the colors?

As indicated in the meshc documentation:

"The range of C, or the current settings of the axes CLim and CLimMode
properties (also set by the caxis function), determine the color
scaling. The scaled color values are used as indices into the current
colormap."