Re: [ROOT] How can I change Palette in a C++ program.

From: Brett Viren (bv@bnl.gov)
Date: Fri Mar 08 2002 - 16:25:58 MET


Mignon Alexis writes:
 > Hi,
 > 
 > I don't see how i can change the palette when i want to plot histograms 
 > with a compiled c++ program (i.e. not using CINT)?

     gStyle->SetPalette(1);

will give you a rainbow palette for the color numbers between 51 and
100 inclusive.

-Brett.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:45 MET