Info

This question is closed. Reopen it to edit or answer.

Colormap Question with Specific Values

1 view (last 30 days)
Patrick Hammer
Patrick Hammer on 2 Aug 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
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?

Answers (0)

Community Treasure Hunt

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

Start Hunting!