Re: [ROOT] colours

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jun 02 2000 - 18:41:35 MEST


Hi Miriam,
See TStyle::SetPalette documentation
In short, you can do:

gStyle->SetPalette(1);
hist->SetContour(28);
hist->Draw("colz")

Rene Brun


On Wed, 31 May 2000, Miriam Gandelman wrote:

> 
> How do I set the colours in Root so that they change continuously? 
> I mean, the equivalent of 'set NCOL 28' in paw. I'm using
> ->Draw("colz") to plot the histogram.
> 
> Miriam
> 
> ---------------------------------------------------------------------------
> Miriam Gandelman (miriam@if.ufrj.br ou miriam.gandelman@cern.ch)
> Instituto de Fisica - UFRJ
> Cidade Universitaria - CP 68528
> 21945-970 Rio de Janeiro - RJ
> Brasil
> Telefone: +55 21 5627914
> FAX: +55 21 562-7368
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:27 MET