12 TCanvas *
c1 =
new TCanvas(
"c1",
"A Simple Graph with multiple y-errors", 200, 10, 700, 500);
14 c1->GetFrame()->SetBorderSize(12);
23 Double_t eylsys[
np] = {0.5, 0.4, 0.8, 0.3, 1.2};
24 Double_t eyhsys[
np] = {0.6, 0.7, 0.6, 0.4, 0.8};
37 gme->
Draw(
"APS ; Z ; 5 s=0.5");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t np
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
TGraph with asymmetric error bars and multiple y error dimensions.
virtual TAttLine * GetAttLine(Int_t e)
Get AttLine pointer for specified error dimension.
virtual void AddYError(Int_t np, const Double_t *eyL=nullptr, const Double_t *eyH=nullptr)
Add a new y error to the graph and fill it with the values from eyL and eyH
virtual TAttFill * GetAttFill(Int_t e)
Get AttFill pointer for specified error dimension.
virtual void SetLineColor(Int_t e, Color_t lcolor)
Set Line Color of error e (-1 = Global and x errors).
void Draw(Option_t *chopt="") override
Draw this graph with its current attributes.