Matrix visualization as an image

3 views (last 30 days)
Yuvashree Mani Urmila
Yuvashree Mani Urmila on 21 May 2014
Commented: Henric Rydén on 21 May 2014
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

Answers (1)

Image Analyst
Image Analyst on 21 May 2014
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!