Matrix visualization as an image

2 次查看(过去 30 天)
To know my data better i wanted to visualize my data matrix as an image. I used imagesc to do that.
code: imagesc(dataStruct.data)
But most of the image was in the same blue shade. Can someone suggest me a way to make this visualization better. With more accurate colors for the values. I am attaching the plot i got here. Thank You

回答(1 个)

Image Analyst
Image Analyst 2014-5-21
Try applying some kind of a colormap
colormap(jet(256));
colormap(gray(256));
colormap(autumn(256));
colormap(lines(256));

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by