Draw a graph with multiple errors.
Multi errors can be usefull for distinguishing different type of errors, for example statistical and systematic errors.
TCanvas *
c1 =
new TCanvas(
"c1",
"A Simple Graph with multiple y-errors", 200, 10, 700, 500);
c1->GetFrame()->SetBorderSize(12);
gme->GetAttLine(0)->SetLineColor(
kRed);
gme->GetAttLine(1)->SetLineColor(
kBlue);
gme->GetAttFill(1)->SetFillStyle(0);
gme->Draw(
"APS ; Z ; 5 s=0.5");
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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
TGraph with asymmetric error bars and multiple y error dimensions.
- Author
- Simon Spies
Definition in file gr008_multierrors.C.