Re: gStyle->SetErrorX(dx)

From: Dmitry Kotov <dmitriy.kotov_at_gmail.com>
Date: Tue, 1 Jun 2010 15:59:13 -0400


Dear Alexander,

If I understood you correctly, you need to get rid of error bars along x-axis in TGraphErrors.
You should fill an zero-array with the number of elements equal to number of your data points.
And then just put this array into your TGraphErrors stuff. In that case you don't need to use SetErrorX method at all.

Cheers,
Dmitry

On Tue, Jun 1, 2010 at 1:38 PM, Alexander Mann <amann_at_uni-goettingen.de>wrote:

> Hi,
>
> the documentation http://root.cern.ch/root/html/TGraphPainter.html says:
>
> "gStyle->SetErrorX(dx) controls the size of the error along x. dx = 0
> removes the error along x."
>
> Does this method to get rid of the x-error bars work?
>
> cu,
> Alexander
>
>
Received on Tue Jun 01 2010 - 21:59:39 CEST

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