<< close | Graphics functions | colormap >> |
colorbar() |
colorbar('off') |
colorbar(..., propertyName, propertyValue) |
colorbar(target, ...) |
colorbar(target, 'off') |
c = colorbar(...) |
a scalar string or row vector character.
a value.
Target: axes.
deletes colorbar associated with the current axes.
graphics object: axes on color bar.
colorbaradds a color bar into a plot.
f = figure();
surf(peaks);
colormap('summer');
colorbar()
f = figure();
surf(peaks);
colormap('gray');
cb = colorbar(gca);
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET