How can I plot an image with an exponential color table?
5 views (last 30 days)
Show older comments
I work with satellite data, and often plot data using code similar to:
surfm(lat,lon,Precip)
contourcmpa([0.0:0.1:12.0],'jet')
Recently, my work group suggested that if the color table was exponential instead of linear, it would be easier to compare images with both low and high rain rates. However, I haven't seen anything in the help that does this, and my attempts so far have ended with the error 'CDELTA must consist of evenly spaced elements'. Any suggestions?
1 Comment
Answers (1)
Image Analyst
on 15 Jan 2015
It's a 256 row by 3 column colormap. You can put whatever color you want into the rows. What do you mean by exponential? Like a gray scale ramp that has a bend to it? Or a color one like jet that has most of the colors squished into one end? See my attached demos. I have another one on a different computer that will plot the RGB curves for the standard colormaps and I'll upload that later.
2 Comments
Image Analyst
on 15 Jan 2015
See attached demo that plots the curves for the standard color maps.
See Also
Categories
Find more on Colormaps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!