Re: [ROOT] 2d histo color levels

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Mar 20 2002 - 13:04:07 MET


Hi Daniel,

Use h2d->SetMaximum(zmax) to impose a scale on z (truncating the peaks).

Rene Brun

Daniel Schuermann wrote:
> 
> Hello all,
> 
> i wonder if there is a way of changing the algorithm by wich the color
> levels in a 2d plot with "col" option are evaluated. If i draw a 2d histo
> with a number of colors less than the largest z-value, root simply scales
> all levels to fit. In this case i loose a lot of information if i am looking
> on structures with low numbers if there are large peaks in the plot. So i do
> not want to change the colors of those levels (which i found as an answer in
> an older request) but to change the levels themselve. And, no, i don't want
> to use the contour option. Any help is welcome...
> 
> greetings,
>                 Daniel
> 
> ---------------------------------------------------------------------------
> Daniel Schuermann                 E-MAIL: schuermann@ep3.ruhr-uni-bochum.de
> Nukleare Astrophysik
> Institut fuer Experimentalphysik III, NB3/128
> Ruhr-Universitaet Bochum
> Universitaetsstr. 150                               D-44780 BOCHUM, GERMANY
> TEL: +49-(0)234-32 23597                           FAX: +49-(0)234-32 14172



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