[ROOT] TF1 and TF2 in TH2

From: Berrie Giebels (berrie@SLAC.stanford.edu)
Date: Thu Feb 20 2003 - 11:16:00 MET


Hi rooters, my problem is visible in the attached macro. I plot a TF2 as a
contour in a TH2, and then draw the symmetry axis on top of it using a
TF1. As you can see in canvas c1, all is ok. Now in canvas c2 where I used
a differently binned TH2 the TF1 is no longer on the TF2 axis.

Also, just zoom in on the [-4,4] Y range in c1 and you'll see the line no
longer being on the symmetry axis of the TF2.

What is going on? What should I do so that plotting the TF1 on the TF2
remains on the righ
axis after either zooming in, or merely plotting multiple contours and
multiple symmetry lines on the same plot?

Thanks for any help,

 -Berrie





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