Separate categories in heatmap colorscale
Mostrar comentarios más antiguos
Hello,
I am using a lot heatmaps to illustrate matrices of data such as this one. I often run in the scenario where I could use a data value that would appear similar to NaN but in another color. Here I gave the tiles the value -10 and troncated the colorscale, but I was wondering if anyone knows of a cleaner way to do it because this method is not always optimal.

Thanks !
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Color and Styling en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
