Re: Overriding style of a histogram saved in a file

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Wed, 15 Jun 2011 11:38:41 +0000


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
Received on Wed Jun 15 2011 - 13:38:51 CEST

This archive was generated by hypermail 2.2.0 : Wed Jun 15 2011 - 17:50:02 CEST