20 if (np > 1000) np = 1000;
22 Double_t rr[1000], phi[1000], dr[1000], size[1000];
26 g->SetTitle(
"TGraphTime demo;X domain;Y domain");
34 if (rc > 0.3) color[i] =
kBlue;
35 if (rc > 0.7) color[i] =
kYellow;
36 size[i] =
r.Uniform(0.5,6);
38 for (s=0;s<nsteps;s++) {
46 m->SetMarkerColor(color[i]);
47 m->SetMarkerSize(newsize);
56 TFile f(
"gtime.root",
"recreate");
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.