Vincent, The new version of THStack in CVS supports automatic scales in both X and Y. Rene Brun On Mon, 22 Apr 2002, Vincent [iso-8859-1] Régnard wrote: > Hi, > > A few week ago I was having some trouble superimposing some 1Dhisto (due to > the yrange, cf above), this is now solved thanks to the THStack class (thank > you Rene :-). > Now I am having a similar problem this time with the x range. I am > superimposing approximately 20 histo on the same padd using a THStack but the > x range for all these histo is slightly different and as a consequence the > right part (for exemple) of the drawing is missing for some histo. > I thought about drawing the histo with largest x value first and then the > others, but in the case where some histo have lowest values lower than the > first histo's lowest, the problem is the same again. > Do you have any idea about how I could solve such a problem ! > Thanks > Vince > > Le Tuesday 26 February 2002 13:19, vous avez icrit : > > 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: > > > 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. > > > , , > / \ > ((__-^^-,-^^-__)) > `-_---' `---_-' > `--|o` 'o|--' > \ ` / > ): :( > :o_o: > "-" http://www.gnu.org >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:51 MET