Hi David,
The CONT option internally uses the same algorithm as the SURF2 option.
It is in fact a 3-D view with angles set to a top view.
The 3-d plots use a normalized coordinate system [-1,1]. It is
non-trivial
to support the option "same" in this case.
Rene Brun
David d'Enterria wrote:
>
> Hello all,
>
> I got a TProfile which I want to plot on top of a TH2F:
>
> 2d_histo_et_vs_y.Draw("opt") ;
> profile_et_vs_y.Draw("same") ;
>
> I can do it without problem if I plot the bi-dim histo with options:
> *-* "ARR" : arrow mode. Shows gradient between adjacent cells
> *-* "BOX" : a box is drawn for each cell with surface proportional
> to contents
> *-* "COL" : a box is drawn for each cell with a color scale
> varying with contents
> *-* "COLZ" : same as "COL". In addition the color mapping is also
> drawn
> *-* "CONT1" : Draw a contour plot using line styles to distinguish
> contours
> *-* "CONT2" : Draw a contour plot using the same line style for all
> contours
> *-* "CONT3" : Draw a contour plot using fill area colors
> *-* "SCAT" : Draw a scatter-plot (default)
>
> But the TProfile does NOT appear on top of the bi-dim histo if I plot it
> with options:
> *-* "CONT" : Draw a contour plot (same as CONT3)
> *-* "CONT0" : Draw a contour plot using colors to distinguish
> contours
>
> (BTW remark that the indication "(same as CONT3)" should be "(same as
> CONT0)" at page http://root.cern.ch/root/html/TH1.html#TH1:Draw )
>
> Is there any reason why ?
>
> David d'Enterria
> ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
> Groupe Photons Subatech http://www-subatech.in2p3.fr/~photons/
> mailto:enterria@in2p3.fr phone: +33.2.51.85.85.60
> ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
> Grup Física Radiacions UAB http://cc.uab.es/~iffr1/
> mailto:d.enterria@cc.uab.es phone: +3493.581.13.64
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET