Re: [ROOT] setting persistent drawing options on histograms

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jul 21 2000 - 09:28:56 MEST


Hi Peter,
This is now implemented in the development version. You can get
the source as usual from our CVS repository.
IF you call TH1::SetOption(option) on your histogram, it becomes the
default option.

Rene Brun


Peter Steinberg wrote:
> 
> is there a way of permanently setting a drawing option on a histogram?
> e.g. i would like a certain TH2F to be shown as a lego plot by default,
> but if i do
> 
> h2.SetDrawOption("lego")
> 
> i still get a density plot when i do h2.Draw()
> 
> - peter
> 
> ---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
> Dr. Peter A. Steinberg                        Brookhaven National Laboratory
> Assistant Scientist                                Bldg 555, Upton NY, 11973
> ---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
> Office: 631-344-4390                          mailto:Peter.Steinberg@bnl.gov
> Mobile: 917-549-3094                       http://www.rhic.bnl.gov/~steinber
> --> E-mail my cell phone (100 chars max): steinber@steinberg.chm.bnl.gov <--
> ---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET