I have a canvas with a TGraph drawn. I would like to get its zoom ranges and apply to a next graph which will be drawn in the same canvas. It seems that I can get the ranges only with gPad.GetUymin/max(). GetMaximum() on graph returns the pre-zoom maximum of the graph, GetFirst/Last() on axis returns always 1 and so on…
However, I cannot find anywhere a method to set the Pad zooms, like SetUymin/max(). Setting TGraph.SetMaximum() would work, but then the values of min/max would be stored elsewhere then those accessible by gPad.GetUymin/max(). What should I do?