It seems with this link https://root.cern.ch/doc/master/classTColor.html#C061 that’s possible to invert the pallet color by doing for instance TColor::InvertPalette();. However I got this error in my code: error: no member named ‘InvertPalette’ in 'TColor’
Can someone tell me please why this error ?
Thanks in advance.
You are looking at the documentation for ROOT master, i.e. the very latest version.
Check the documentation for your specific ROOT version (the list is here), it’s just a guess, but it might be the method was not there yet if you use an old enough version of ROOT.
Let me know if this helps!
That’s exactly the issue. This method is a “recent” add-on.
Yeah that’s the problem.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.