Re: [ROOT] Axis Range

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Feb 26 2002 - 13:19:07 MET


Hi Vincent,

To draw a list of histograms in teh same pad, use the class THStack.
Different drawing options are provided. They all compute automatically
the best range.
See: http://root.cern.ch/root/htmldoc/THStack.html

Rene Brun

vincent regnard wrote:
> 
> Hi,
> 
> I am superimposing TH1F histograms with same x ranges but different y ranges.
> I would like to use the same y range (the largest) for all of them but it
> seems that the range that is taken into account is the range of the first
> histo I drawn. In consequence, some bin contents of my histo do not appear on
> plot.
> I tried to use the SetRangeUser and SetRange method for the yaxis but it
> revealed unsuccessfull, it seems to only work for the Xaxis.
> 
> I probably did not use the appropriate objet to do what I want.
> Could you indicate how to obtain this kind of result!
> Thanks
> 
> VR



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET