Display scaled image object
imagesc(C)
imagesc(C,clims)
imagesc(x,y,C)
imagesc(x,y,C,clims)
imagesc(x,y,'PropertyName',PropertyValue)
hdl = imagesc(...)
vector
vector
m by n matrix
2-vector
Handle of the Matplot entity
image creates a scaled image object by considering each element of the C matrix. The values are scaled and are mapped to the current figure colormap. The vector clims allows to define the minimum and maximum values associated to the first and last color of the colormap.
When the x and y vectors are given, only the first and last values of these vectors are used and define the range of each variable. By default, the 'YDir' property of parent axis is set to 'Reverse'.