Info
This question is closed. Reopen it to edit or answer.
How can I extract the CLim color id of an imagesc plot?
1 view (last 30 days)
Show older comments
For an imagesc plot, I have set the color limits of the cells between 0 and 100. I would like to know what the color id of each cell is, whether by reverse calculation or extracting the data from the plot. I know for a fact that it is not a linear scale, this is because my top two values are 33200 and 833, meaning that the second value would be around .28 of the nominal if we scale everything between 0 and 1 for color id. Yet, numerous values end up being of the same color. I would like to know how clim determines based on the cell value what color it takes up.
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!