Re: color range scale

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Dec 09 1998 - 17:25:23 MET


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET