This tutorial demonstrates the use of TGraphAsymmErrors to plot a graph with asymmetrical errors on both the x and y axes.
The errors for the x values are divided into low (left side of the marker) and high (right side of the marker) errors. Similarly, for the y values, there are low (lower side of the marker) and high (upper side of the marker) errors.
void gr004_errors_asym() {
gr->
SetTitle(
"A simple graph with asymmetrical errors");
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
TGraph with 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.
- Author
- Miro Helbich
Definition in file gr004_errors_asym.C.