Re: TH2 project ?

Rene Brun (Rene.Brun@cern.ch)
Tue, 09 Dec 1997 19:37:04 +0100


Laurent Aphecetche wrote:

> Hi,
>
> Is there a ROOT equivalent of PAW H/PROX and H/PROY ?

Yes, TH1::ProjectionX, TH1::ProjectionY, TH1::ProfileX, TH1::ProfileY

>
>
> Also, is there a simple way to create a geographical palette for contours plot
> (as in PAW: set ncol 32, pal 1) ?

You can define a palette via TStyle::SetPalette
and use TH1::SetContour to specify the number of contours

Rene Brun