sawan4
October 21, 2024, 5:32am
1
I CERN root, I have found a new colour scheme given in this link https://root.cern/blog/new-color-schemes/ . However, this colour scheme is for Pyroot; please tell me how to use it in C++.
Thanks
_ROOT Version: 6.26/14
_Platform: Ubuntu
Compiler: Not Provided
couet
October 21, 2024, 7:54am
2
This is not for Pyroot only. The example in the blog post is a C++ one.
1 Like
sawan4
October 21, 2024, 8:17am
3
Thanks for the reply.
When I trying to add these colors, I am getting the error
error: use of undeclared identifier 'kP6Blue'
singlefits[i]->SetLineColor(kP6Blue);
The root version I am using is 6.26/14
Is there any additional library I need to import or I need to update root for the latest colors to work?
couet
October 21, 2024, 8:19am
4
As said in the blog post:
These new color schemes, now in the master version of ROOT, will be available in version 6.34.
1 Like
system
Closed
November 4, 2024, 8:19am
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.