Re: Connecting error bars with polygon?

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Thu, 10 Nov 2011 13:55:19 +0000


See:

http://root.cern.ch/root/html/TGraphPainter.html#GP03

On Nov 10, 2011, at 2:50 PM, Mohammed Zakaria wrote:

Hi,

Try something like:
Try using class TGraphErrors (name it for example f1), there you will find the option:
f1 -> Draw("E3 same");

Best,

Mohammed Zakaria

On Thu, Nov 10, 2011 at 7:42 AM, Georg Troska <georg.troska_at_uni-dortmund.de<mailto:georg.troska_at_uni-dortmund.de>> wrote: Hi,

I would like to plot the significance-area of a fit function. But I do not want to use error bars, but something like a colored region - A polygon through the ends of invisible error-bars would be fine. I think it is possible to make an exclusion plot (see example in manual) but in this case the exclusion width needs to be constant.

simple example could be:

function y=x [0,10]
and the error is e(y) = 0.1*x

Hope its clear, what I want to say? Hard to explain... hope someone has a hint

Thanks Georg Received on Thu Nov 10 2011 - 14:55:27 CET

This archive was generated by hypermail 2.2.0 : Mon Nov 14 2011 - 23:50:02 CET