13 const Int_t kNMAX = 10000;
24 if (cursor > kNMAX-ng) {
25 for (
Int_t i=0;i<ng;i++) {
35 Y[cursor+ng] =
sin(x);
37 g->
DrawGraph(ng,&X[cursor],&Y[cursor],
"alp");
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
virtual void Draw(Option_t *chopt="")
Draw this graph with its current attributes.
virtual void Sleep(UInt_t milliSec)
Sleep milliSec milli seconds.
virtual void SetMarkerColor(Color_t mcolor=1)
void Clear(Option_t *option="")
Remove all primitives from the canvas.
R__EXTERN TSystem * gSystem
virtual void SetMarkerStyle(Style_t mstyle=1)
A Graph is a graphics object made of two arrays X and Y with npoints each.
virtual void DrawGraph(Int_t n, const Int_t *x, const Int_t *y, Option_t *option="")
Draw this graph with new attributes.
virtual void Update()
Update canvas pad buffers.