52 Warning(
"TGraphTime",
"Number of steps %d changed to 100",nsteps);
109 if (slot < 0 || slot >=
fNsteps)
return -1;
127 gROOT->MakeDefCanvas();
128 gPad->SetFillColor(41);
129 gPad->SetFrameFillColor(19);
154 gPad->GetListOfPrimitives()->Remove(frame);
155 gPad->GetListOfPrimitives()->Clear();
156 if (frame)
gPad->GetListOfPrimitives()->Add(frame);
183 gPad->GetListOfPrimitives()->Remove(frame);
184 gPad->GetListOfPrimitives()->Clear();
185 if (frame)
gPad->GetListOfPrimitives()->Add(frame);
193 if (strlen(filename) > 0)
gPad->Print(
Form(
"%s+",filename));
char * Form(const char *fmt,...)
R__EXTERN TSystem * gSystem
TGraphTime is used to draw a set of objects evolving with nsteps in time between tmin and tmax.
virtual void Paint(Option_t *chopt="")
Paint all objects added to each time step.
virtual Int_t Add(const TObject *obj, Int_t slot, Option_t *option="")
Add one object to a time slot.
virtual void SaveAnimatedGif(const char *filename="") const
Save this object to filename as an animated gif file if filename is specified it must be of the form ...
virtual ~TGraphTime()
GraphTime default destructor.
TGraphTime()
default constructor.
virtual void Draw(Option_t *chopt="")
Draw this TGraphTime.
1-D histogram with a double per channel (see TH1 documentation)}
virtual void SetTitle(const char *title)
See GetStatOverflows for more information.
virtual void SetMaximum(Double_t maximum=-1111)
virtual void SetMinimum(Double_t minimum=-1111)
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void SetStats(Bool_t stats=kTRUE)
Set statistics option on/off.
virtual void Add(TObject *obj)
virtual TObjLink * FirstLink() const
The TNamed class is the base class for all named ROOT classes.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
TObject * UncheckedAt(Int_t i) const
virtual void Delete(Option_t *option="")
Remove all objects from the array AND delete all heap based objects.
virtual void AddAt(TObject *obj, Int_t idx)
Add object at position ids.
Wrapper around a TObject so it can be stored in a TList.
virtual Option_t * GetAddOption() const
TObject * GetObject() const
Mother of all ROOT objects.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
void ToLower()
Change string to lower-case.
virtual void Sleep(UInt_t milliSec)
Sleep milliSec milli seconds.
static constexpr double s