12void gr008_multierrors() {
13 TCanvas *
c1 =
new TCanvas(
"c1",
"A Simple Graph with multiple y-errors", 200, 10, 700, 500);
15 c1->GetFrame()->SetBorderSize(12);
20 Double_t exl[np] = {0.3, 0.3, 0.3, 0.3, 0.3};
21 Double_t exh[np] = {0.3, 0.3, 0.3, 0.3, 0.3};
22 Double_t eylstat[np] = {1, 0.5, 1, 0.5, 1};
23 Double_t eyhstat[np] = {0.5, 1, 0.5, 1, 0.5};
24 Double_t eylsys[np] = {0.5, 0.4, 0.8, 0.3, 1.2};
25 Double_t eyhsys[np] = {0.6, 0.7, 0.6, 0.4, 0.8};
40 gme->
Draw(
"APS ; Z ; 5 s=0.5");
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
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.
virtual TAttFill * GetAttFill(Int_t e)
virtual TAttLine * GetAttLine(Int_t e)
virtual void AddYError(Int_t np, const Double_t *eyL=nullptr, const Double_t *eyH=nullptr)
virtual void SetLineColor(Int_t e, Color_t lcolor)
void Draw(Option_t *chopt="") override
Default Draw method for all objects.