Re: gStyle->SetErrorX(dx)

From: Alexander Mann <amann_at_uni-goettingen.de>
Date: Tue, 1 Jun 2010 23:10:00 +0200

Hi,

OK, did you try calling gStyle->SetErrorX(0.0) directly, too?

cu,
Alexander

Am 01.06.2010 23:07, schrieb suvayu ali:
> 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
Received on Tue Jun 01 2010 - 23:54:17 CEST

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