contourcmap
Contour colormap and color bar
Description
contourcmap(
sets the colormap of the
current figure (and current axes) to a predefined colormap. If the current axes contains a
contour object created by the cmap
)contourm
, contourfm
,
contour3m
, or geoshow
function, then the number
of colors in the colormap matches the number of contour intervals. Otherwise, the colormap
contains 10 colors.
contourcmap(___,
specifies options for the color bar using name-value arguments, in addition to any
combination of input arguments from the previous syntaxes. For example, display the color
bar by specifying Name,Value
)"Colorbar","on"
.
returns the
color bar.h
= contourcmap(___)
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a