exl / exh: low and high (left/right) errors in x; similar for y e*d: delta, in axis units, to be added/subtracted (if >0 or <0) in x or y from the data point's position to use as end point of the corresponding error
void gr009_bent_err()
{
Double_t x[
n] = {-0.22, 0.05, 0.25, 0.35, 0.5, 0.61,0.7,0.85,0.89,0.95};
Double_t y[
n] = {1,2.9,5.6,7.4,9,9.6,8.7,6.3,4.5,1};
Double_t exh[
n] = {.02,.08,.05,.05,.03,.03,.04,.05,.06,.03};
n,
x,
y,
exl,
exh,
eyl,
eyh,
exld,
exhd,
eyld,
eyhd);
}
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
A TGraphBentErrors is a TGraph with bent, asymmetric error bars.
void Draw(Option_t *chopt="") override
Draw this graph with its current attributes.
void SetTitle(const char *title="") override
Change (i.e.