Re: gStyle->SetErrorX(dx)

From: suvayu ali <fatkasuvayu_at_gmail.com>
Date: Tue, 1 Jun 2010 14:07:55 -0700


On 1 June 2010 13:33, Dmitry Kotov <dmitriy.kotov_at_gmail.com> wrote:
> btw, in fact you don't even need the zero-array thing.
> just put a "0" to the TGraphErrors in the place where you want to have
> 0-bars.
> but still that doesnt answer your question))
> sorry))
>
> On Tue, Jun 1, 2010 at 4:28 PM, Dmitry Kotov <dmitriy.kotov_at_gmail.com>
> wrote:
>>
>> well, i never used SetErrorX myself
>> you should wait for the expert's opinion))
>>

I am not an expert, but I have successfully used this before. Something like this,

TStyle *myStyle = new TStyle("StyleName","my style"); ...
myStyle->SetErrorX(0.00);
...
gROOT->SetStyle("StyleName");

This got rid of the X error bars for TProfiles for me.

>> Cheers,
>> Dmitry
>>

GL

-- 
Suvayu

Open source is the future. It sets us free.
Received on Tue Jun 01 2010 - 23:08:21 CEST

This archive was generated by hypermail 2.2.0 : Wed Jun 02 2010 - 05:50:01 CEST