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));
TGraphTime is used to draw a set of objects evolving with nsteps in time between tmin and tmax...
virtual const char * GetName() const
Returns name of object.
virtual void SetMaximum(Double_t maximum=-1111)
virtual void Delete(Option_t *option="")
Remove all objects from the array AND delete all heap based objects.
virtual void SetMinimum(Double_t minimum=-1111)
void ToLower()
Change string to lower-case.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
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 void Paint(Option_t *chopt="")
Paint all objects added to each time step.
virtual void Sleep(UInt_t milliSec)
Sleep milliSec milli seconds.
The TNamed class is the base class for all named ROOT classes.
R__EXTERN TSystem * gSystem
virtual void Draw(Option_t *option="")
Draw this histogram with options.
char * Form(const char *fmt,...)
virtual void AddAt(TObject *obj, Int_t idx)
Add object at position ids.
virtual TObjLink * FirstLink() const
virtual void Draw(Option_t *chopt="")
Draw this TGraphTime.
TObject * UncheckedAt(Int_t i) const
Wrapper around a TObject so it can be stored in a TList.
Mother of all ROOT objects.
virtual ~TGraphTime()
GraphTime default destructor.
TObject * GetObject() const
virtual void Add(TObject *obj)
TGraphTime()
default constructor.
virtual Int_t Add(const TObject *obj, Int_t slot, Option_t *option="")
Add one object to a time slot.
THist< 1, double, THistStatContent, THistStatUncertainty > TH1D
virtual void SetTitle(const char *title)
Change (i.e.
virtual void SetStats(Bool_t stats=kTRUE)
Set statistics option on/off.
virtual Option_t * GetAddOption() const
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual const char * GetTitle() const
Returns title of object.