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);
148 TList *list =
nullptr;
154 gPad->GetListOfPrimitives()->Remove(frame);
155 gPad->GetListOfPrimitives()->Clear();
156 if (frame)
gPad->GetListOfPrimitives()->Add(frame);
157 lnk = list->FirstLink();
177 TList *list =
nullptr;
183 gPad->GetListOfPrimitives()->Remove(frame);
184 gPad->GetListOfPrimitives()->Clear();
185 if (frame)
gPad->GetListOfPrimitives()->Add(frame);
186 lnk = list->FirstLink();
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
R__EXTERN TSystem * gSystem
TGraphTime is used to draw a set of objects evolving with nsteps in time between tmin and tmax.
virtual Int_t Add(const TObject *obj, Int_t slot, Option_t *option="")
Add one object to a time slot.
Double_t fXmin
Minimum for X axis.
void Paint(Option_t *chopt="") override
Paint all objects added to each time step.
Int_t fSleepTime
Time (msec) to wait between time steps.
~TGraphTime() override
GraphTime default destructor.
TH1 * fFrame
TH1 object used for the pad range.
Double_t fYmin
Minimum for Y axis.
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 ...
Double_t fXmax
Maximum for X axis.
TGraphTime()
default constructor.
Double_t fYmax
Maximum for Y axis.
TObjArray * fSteps
Array of TLists for each time step.
void Draw(Option_t *chopt="") override
Draw this TGraphTime.
Int_t fNsteps
Number of time steps.
1-D histogram with a double per channel (see TH1 documentation)
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
Wrapper around a TObject so it can be stored in a TList.
virtual Option_t * GetAddOption() const
TObject * GetObject() const
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.
TObject()
TObject constructor.
void ToLower()
Change string to lower-case.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.