[Frost] ROOT question

Patrick Collins pcollins at jlab.org
Tue Oct 20 13:57:21 EDT 2009


Brian,
The command gStyle->SetPalette(1,0); should give you a blue to red spectrum. 
Personally, I have that in my rootlogon.C file so that I don't have to set it 
all the time.

Cheers,
Patrick

Brian Morrison wrote:
> Hey all,
> 
> I was wondering if anyone knew how to alter the palette on a 2d histogram.
>  I've somehow got mine stuck in a very ugly color progression by using the
> TColor options and such and have no clue how to get a nicer spectrum. 
> Everything I have found on the root sites and such has yet to work so I
> was wondering if anyone else has had any luck with this.  Thanks in
> advance.
> 
> -Brian
> 
> _______________________________________________
> Frost mailing list
> Frost at jlab.org
> https://mailman.jlab.org/mailman/listinfo/frost


More information about the Frost mailing list