Re: Zooming problem with TGraph

From: Marco Calviani <>
Date: Sat, 29 Apr 2006 13:35:45 +0200

Hi Rene,
  thanks for your reply.

2006/4/29, Rene Brun <>:
> The zoom precision corresponds to the number of bins along x or y.
> In case of log scales and a big range (in your case 1e-2 to 1e6)
> the current algorithm may fail if the number of bins is too small.
> I habve modified your program to be able to zoom more deeply in
> your graph. see below.

i've done how you told me but i'm encountering two problems: 1) When i zoom on the Y axis, the minimum does not longer stay blocked, but unfortunately when i try to unzoom the following error appears:

Error in <THistPainter::PaintInit>: log scale is requested but maximum is less or equal 0 (0.000000)

2) Along the X axis the correct zooming process is allowed only if the lower limit is set to 5-6. If lower than this the minimum is always 10e-2.

MC Received on Sat Apr 29 2006 - 13:35:52 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET