<< clf | Graphics functions | close >> |
clim(limits) |
clim('auto') |
clim('manual') |
clim(ax, ...) |
lims = clim() |
New limits: [cmin cmax].
enables automatic limit updates when values in the colormap indexing array change.
disables automatic limit update.
Target object: axes graphics object.
[cmin cmax]
clim set or get colormap limits.
f = figure();
[X,Y] = meshgrid(-5:.5:5);
Z = X .^ 2 + Y .^ 2;
surf(Z);
limits = clim()
f = figure();
[X,Y] = meshgrid(-5:.5:5);
Z = X.^2 + Y.^2;
surf(Z);
clim([25 75])
limits = clim()
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET