caxis
Get or set color-axis limits.
Syntax
Section titled “Syntax”caxis([cmin cmax])caxis('auto')lim = caxisDescription
Section titled “Description”Sets the data-value range that maps to the full extent of the colormap. Useful for keeping color scales consistent across multiple plots showing the same physical quantity.
Example
Section titled “Example”caxis([-5 5])