Re: color range scale

Rene Brun (Rene.Brun@cern.ch)
Wed, 09 Dec 1998 17:25:23 +0100


Timothy Smith wrote:
>
> Hello Rooters
>
> I am looking for a color scale or spectrum function. We
> have created a Single Event Display for our experiment (BLAST),
> and presently we highlight detector elements which have been hit
> in a given event. We would like to color those detector elements
> depending on the ADC readouts. What we are looking for is
> a function which take a value in a range and returns a color
> (perhaps across the spectrum, blue is high, red is low - or
> something like this).
>
> If this has already been done - we would like to use it.
> If not we might develop it.
>
> Thanks for any pointers.
>

Hi Tim,
For an example, see URL:
http://root.cern.ch/root/html/TH1.html#TH1:PaintColorLevels

Rene Brun