Re: [ROOT] Style inconsistency in drawing histograms

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 02 2000 - 09:40:32 MET


Hi Ben,
Thanks for this remark.
I have modified TPad::UseCurrentStyle to also import the log attributes.

Rene Brun

Benjamin E. Norman wrote:
> 
> Rene Brun wrote:
> > Hi Ben,
> > I cannot reproduce your problem with SetHistlineStyle.
> 
>         Me too:)  I've changed the code I was having problems with so many
> times that I can't put together the exact configuration that caused me
> problems.  But in the course of looking, I found the answer to another
> thing which was confusing me.  In (version 2.25/03 of) TPad.cxx, I see
> that "UseCurrentStyle" does not take into account fOptLog(x|y|z).
> Before, I couldn't figure out why I had to have my desired style in
> "focus" when creating my pad, and calling gPad->UseCurrentStyle() wasn't
> sufficient to change histogram axis scales.
> 
> Thanks,
> Ben Norman
> 
> > Benjamin E. Norman wrote:
> > >
> > > Hi,
> > >      I couldn't find the answer to this question in the roottalk archives, and
> > > I've wasted enough time trying to divine the answer myself that I thought I
> > > should ask the experts.
> > >      There seems to be some inconsistency about how and when styles must be
> > > applied to histogram objects to bring about the desired effect.



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