20     y[i] = 10*
sin(
x[i]+0.2);
 
   21     printf(
" i %i %f %f \n",i,
x[i],
y[i]);
 
   35   c1->GetFrame()->SetBorderSize(12);
 
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
 
virtual void SetLineColor(Color_t lcolor)
Set the line color.
 
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
 
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
 
A TGraph is an object made of two arrays X and Y with npoints each.
 
void Draw(Option_t *chopt="") override
Draw this graph with its current attributes.
 
TAxis * GetXaxis() const
Get x axis of the graph.
 
TAxis * GetYaxis() const
Get y axis of the graph.
 
void SetTitle(const char *title="") override
Change (i.e.
 
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
 
RVec< PromoteType< T > > sin(const RVec< T > &v)