Example of a graph of data moving in time.
Use the canvas "File/Quit ROOT" to exit from this example
void gtime()
{
while (!
gSystem->ProcessEvents()) {
for (
Int_t i = 0; i < ng; i++) {
}
} else {
}
}
}
int Int_t
Signed integer 4 bytes (int)
double Double_t
Double 8 bytes.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t cursor
R__EXTERN TSystem * gSystem
A TGraph is an object made of two arrays X and Y with npoints each.
Double_t Sin(Double_t)
Returns the sine of an angle of x radians.
- Author
- Olivier Couet
Definition in file gtime.C.