Hello! Well, thanks for the suggestions but they both are not quite what I was asking for. Assume I have a picture like this: 20 | | 15 | /\ | / \ 10 | / \ | / \ 5 | / \ |/__________\____ 0 5 10 15 As you see Ymin = 0 and YMax = 15. Then I zoom X axis, say from 7.5 to 12.5 20 | | 15 | / \ | / \ 10 |/ \ | 5 | |_______________ 0 7.5 12.5 Y axis range will stay the same but now Ymin = 10 and Ymax = 15 (min and max of the graph in the new X range, not min and max of the Y axis!). How can I get these numbers? If I use h2->GetYaxis()->GetXmin(); h2->GetYaxis()->GetXmax(); I will not get Ymin and Ymax of the points on the picture but min and max of the axis (0-15 in both cases). Regards, Anton
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:34 MET