[ROOT] Contourplots with labels/legend

From: Alexander Wagner (a.wagner@physik.uni-wuerzburg.de)
Date: Wed Jul 30 2003 - 16:48:48 MEST


Hi!

Is there any possiblity to label the contour lines  used  by
root?

Consider a TH2F plotted  with  cont3  and  some  userdefined
(pretty complex looking) contour  levels.   Now  I  want  to
attach some label to the lines  to  distinguish  them.   The
simple idea to just use cont2 to get different  line  styles
doesn't work out as each line needs to many  points  to  get
distingishable contour levels.  A simple  example  everybody
probably knows is some  sort  of  temperature  chart  for  a
region where you place labels with the  temperature  between
two contour lines.

Is there an elegant way to tell root to label this or  do  I
have to place the labels by hand?

(Currently I'm running root 3.02-7 as there is a bug in 3.04
if you want non-equidistant contour levels.)

-- 

Kind regards,                /                 War is Peace.
                            |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
----------------------------|
Theoretische Physik II      | Theory     : G. Orwell, "1984"
Universitaet Wuerzburg     /  In practice:   USA, since 2001



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET