Re: Overriding style of a histogram saved in a file

From: Thiago Tomei <Thiago.Tomei_at_cern.ch>
Date: Wed, 15 Jun 2011 14:25:10 +0200


Sweet and to the point.

Thanks!

On Wed, Jun 15, 2011 at 1:38 PM, Olivier Couet <Olivier.Couet_at_cern.ch> wrote:
> Do gROOT->ForceStyle()
>
> On 6/15/11 1:33 PM, "Thiago Tomei" <Thiago.Tomei_at_cern.ch> wrote:
>
>>Hello ROOTers
>>
>>The collaboration I work with kindly provides a ROOT macro to set
>>standard plot styles. In my particular setup, I have my initialization
>>macro call this style macro, so that all my plots come out the way my
>>fellow workers expect them. However, when I open up a ROOT file with a
>>histogram made with a different style, the style macro is not able to
>>override whatever (ugly) style the histogram was made with. I attach
>>here four objects:
>>
>>a) A ROOT file containing a test histogram
>>b) The style macro
>>c) A macro to reproduce the problems (calls the style macro)
>>d) A PNG showing the results
>>
>>Is there any way to make my style override the style the histogram was
>>saved with?
>>
>>Best regards,
>>Thiago
>>--
>>    Thiago R. F. P Tomei - http://cern.ch/Thiago.Tomei
>>    SPRACE - São Paulo Research and Analysis Center
>>    CERN - European Organization for Nuclear Research
>
>

-- 
    Thiago R. F. P Tomei - http://cern.ch/Thiago.Tomei
    SPRACE - São Paulo Research and Analysis Center
    CERN - European Organization for Nuclear Research
Received on Wed Jun 15 2011 - 14:25:15 CEST

This archive was generated by hypermail 2.2.0 : Thu Jun 16 2011 - 05:50:01 CEST