Define custom color palette

Hello guys,
I want to use a predefined color palette when the values are positive. As soon the value becomes negative the color should be always the same red. How can I do that?

Thank for your effort!

use this example as model:
ROOT: tutorials/graphics/perceptualcolormap.C File Reference

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.