Hi! I am plotting a data matrix using the following code:
imagesc(x,y,Data) colorbar set(colorbar, 'ylim', [1 10])
The "Data" matrix has a lot of "0"s among 480×480 elements. Rest members of the matrix are from 1 to 9. My plot is looking quite blue because of the of the 0's. How can I set the threshold so that there will be no color for the 0's but only the colors will starts to show up for non-zero values of the "Data" matrix elements?
Best Answer