Hi ROOTers, In the User's Guide it is said that to zoom a graph you have to create an empty histogram with the axis limits you want, and then draw the graph. Is it possible to draw a graph and then reset the axis limits so as to get it zoomed? I mean, I want to first draw the graph, then resize it. I have tried with theGraph->GetXaxis()->SetRangeUser(), and then theCanvas->Update(), but it doesn't work. Any idea? Thanks for your help, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Alberto Garcia Raboso Universidad Autónoma de Madrid (Spain) E-Mail: Alberto.Garcia.Raboso@cern.ch ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Well, farewell, my hobbits! You should come safe to your own homes now, and I shall not be kept awake for fear of your peril. We will send word when we may, and some of us may yet meet at times; but I fear that we shall not all be gathered together ever again. The return of the King. J.R.R. Tolkien ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET