Colormap Question with Specific Values

So I have a custom RGB colormap that basically looks like jet but with black in the middle. However, for the type of data that I have, I want to make values below 0 a color not on the colorbar. I have played with adding the color then playing with the limits but this is not giving me the desired look of the plot. Is there a way to specify certain values have a particular color?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 2 de Ag. de 2018

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by