Example of TGraphTime.
if (np > 1000) np = 1000;
g->SetTitle(
"TGraphTime demo;X domain;Y domain");
for (i=0;i<np;i++) {
if (rc > 0.3) color[i] =
kBlue;
size[i] =
r.Uniform(0.5,6);
}
for (s=0;s<nsteps;s++) {
for (i=0;i<np;i++) {
m->SetMarkerColor(color[i]);
m->SetMarkerSize(newsize);
}
}
TFile f(
"gtime.root",
"recreate");
}
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
char * Form(const char *fmt,...)
Draw all kinds of Arrows.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
TGraphTime is used to draw a set of objects evolving with nsteps in time between tmin and tmax.
A Pave (see TPave) with a text centered in the Pave.
Random number generator class based on M.
- Author
- Rene Brun
Definition in file gtime.C.