Reversing the colormap turbo color range

6 visualizaciones (últimos 30 días)
Rahul Gulia
Rahul Gulia el 24 de Ag. de 2023
Comentada: Rahul Gulia el 24 de Ag. de 2023
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.

Respuesta aceptada

Rahul Gulia
Rahul Gulia el 24 de Ag. de 2023
colormap(flipud(hot))
  2 comentarios
Image Analyst
Image Analyst el 24 de Ag. de 2023
I think you meant
colormap(flipud(turbo));
Rahul Gulia
Rahul Gulia el 24 de Ag. de 2023
yes, I agree. Thanks for the suggestion. .

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by