Using predefined color palettes from root 6 to root 5

You can create a palette
https://root.cern.ch/doc/master/classTColor.html#C05

using the colours you want. You can see the values for the predefined palettes here:
ROOT: core/base/src/TColor.cxx Source File
Scroll down to find Black Body (case 70). I’m not sure if the alpha option is available in ROOT 5, but you can just omit it, as in the “periodic z-axis” example above.

2 Likes