Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Kristin
Posts:
59
Registered:
2/22/12
|
|
Re: How to find min/max in a figure/colorbar?
Posted:
Mar 19, 2013 7:11 PM
|
|
"Anke " <anke.wortmann@student.kit.edu> wrote in message <khncoe$lq$1@newscl01ah.mathworks.com>... > I saved figures of some plots during a simulation run. They are imagesc. Is there any way to fin the min/max values just from the figure? Or actually the colorbar. > I use the image without axes in a .tex document where I use pgfplots to redo the axes and colorbar. So basically I need to know how to accurately remake the colorbar not just by guessing. The ticks on my Matlab colorbar don't go all the way up and down, so right now, guessing is my only option...
CAX = caxis;
This will return a two-element vector of the min and max value, per the colorbar.
|
|
|
|