FUNCTION REFERENCE
imagesc
Display an image with colours scaled to the colormap.
Display an image with colours scaled to the colormap.
Syntax
imagesc(C)Syntax
imagesc(x, y, C)Syntax
imagesc(..., clims)Like image with CDataMapping 'scaled': the smallest value of C takes the first colormap row and the largest the last. clims = [cmin cmax] sets the colour limits instead (see clim). Use colorbar to show the scale.
Example
imagesc(peaks(20)); colorbarExample
imagesc(magic(4), [0 20]); clim % [0 20]Differences from MATLAB: AlphaData is not supported; images are not saved in .fig files yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.