Re: [ROOT] multiple histograms with different OptStat

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jul 02 2002 - 23:03:11 MEST


Hi Rob,

Read section "Statistics Display" at url:
http://root.cern.ch/root/htmldoc/THistPainter.html#THistPainter:Paint

Rene Brun

On Tue, 2 Jul 2002, Robert Feuerbach wrote:

> 
> Hi,
> 
> I would like to plot multiple histograms on the same canvas, just with 
> different SetOptStat options. However, it appears that upon the call to 
> TCanvas::Update, all the histograms are painted with the final 
> gStyle->SetOptStat options. Is there any way to get around this?
> 
> In general, it would be nice if a histogram "remembered" which options
> were set when it was drawn, and kept them when it is finally "Paint"'ed. 
> If these were kept with the histogram (inside TH1) and accessed by the 
> THistPainter, if necessary one could use TH1::DrawClone to plot a single 
> histogram many times with different options.
> 
> 
> Thanks for all your hard work further developing ROOT.
> 
> Take care,
> Rob Feuerbach
> -- 
> /***************************************************
>  * Robert Feuerbach   feuerbac@ernest.phys.cmu.edu *
>  * CMU Physics Department           (412) 268-2772 *
>  * Pittsburgh, PA 15213        FAX: (412) 681-0648 *
>  ***************************************************/
> 



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