Reversing the colormap turbo color range

In turbo colormap, blue represent low values in a range, and red represents high values.
Is there any way to reverse this color bar and represent red for low values and blue for high values ?
I would appreciate any kind of suggestion on this topic.

 Accepted Answer

colormap(flipud(hot))

2 Comments

I think you meant
colormap(flipud(turbo));
yes, I agree. Thanks for the suggestion. .

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!