19 Double_t xvalues1[
n], xvalues2[
n], xvalues3[
n], yvalues1[
n], yvalues2[
n], yvalues3[
n];
22 xvalues2[i] = xvalues1[i];
23 xvalues3[i] = xvalues1[i]+.5;
24 yvalues1[i] = 10*
sin(xvalues1[i]);
25 yvalues2[i] = 10*
cos(xvalues1[i]);
26 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.
virtual void Add(TGraph *graph, Option_t *chopt="")
Add a new graph to the list of graphs.
void Draw(Option_t *chopt="") override
Draw this multigraph with its current attributes.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
RVec< PromoteType< T > > cos(const RVec< T > &v)
RVec< PromoteType< T > > sin(const RVec< T > &v)