Draw three graphs with an exclusion zone.
mg->SetTitle(
"Exclusion graphs");
Double_t xvalues1[
n], xvalues2[
n], xvalues3[
n], yvalues1[
n], yvalues2[
n], yvalues3[
n];
xvalues1[i] = i*0.1;
xvalues2[i] = xvalues1[i];
xvalues3[i] = xvalues1[i]+.5;
yvalues1[i] = 10*
sin(xvalues1[i]);
yvalues2[i] = 10*
cos(xvalues1[i]);
yvalues3[i] = 10*
sin(xvalues1[i])-2;
}
}
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
A TGraph is an object made of two arrays X and Y with npoints each.
A TMultiGraph is a collection of TGraph (or derived) objects.
static constexpr double mg
- Author
- Olivier Couet
Definition in file exclusiongraph.C.