20 y[i] = 10*
sin(x[i]+0.2);
21 printf(
" i %i %f %f \n",i,x[i],y[i]);
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
TAxis * GetYaxis() const
Get y axis of the graph.
virtual void SetTitle(const char *title="")
Set graph title.
virtual void Draw(Option_t *chopt="")
Draw this graph with its current attributes.
TFrame * GetFrame()
Get frame.
virtual void SetGrid(Int_t valuex=1, Int_t valuey=1)
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void SetBorderSize(Short_t bordersize)
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
TAxis * GetXaxis() const
Get x axis of the graph.
A Graph is a graphics object made of two arrays X and Y with npoints each.
virtual void Update()
Update canvas pad buffers.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
void Modified(Bool_t flag=1)