GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4Picture.h
Go to the documentation of this file.
1 // $Id: TGo4Picture.h 2738 2020-04-15 20:35:25Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4PICTURE_H
15 #define TGO4PICTURE_H
16 
17 #include "TNamed.h"
18 #include "TArrayL.h"
19 #include <iostream>
20 
21 class TVirtualPad;
22 class TPad;
23 class TObjArray;
24 class TAttLine;
25 class TAttFill;
26 class TAttMarker;
27 class TStyle;
28 class TString;
29 class TAxis;
30 class TFrame;
31 class TH1;
32 class THStack;
33 class TGraph;
34 class TPaveStats;
35 class TPaveText;
36 class TList;
37 
38 class TGo4Picture : public TNamed {
39  public:
40  enum Indexes { UndefIndex = -2, PictureIndex = -1 };
41 
42  TGo4Picture();
43  TGo4Picture(const char* name, const char* title, Int_t ndivy = 1, Int_t ndivx = 1);
44  virtual ~TGo4Picture();
45 
46  // ====== USER FUNCTIONS to setup picture =====================
47 
48  void SetDrawHeader(Bool_t draw = kTRUE);
49  Bool_t IsDrawHeader();
50 
51  // division on subpictures
52 
53  void SetDivision(Int_t ndivy, Int_t ndivx);
54  Int_t GetDivX() { return fiNDivX; }
55  Int_t GetDivY() { return fiNDivY; }
56  Bool_t IsDivided() { return (GetDivX()!=1) || (GetDivY()!=1); }
57 
58  TGo4Picture& operator()(int posy, int posx) { return *Pic(posy,posx); }
59  TGo4Picture* Pic(Int_t posy, Int_t posx);
60  TGo4Picture* FindPic(Int_t posy, Int_t posx);
61 
62  // GOOSY style of picture division
63 
64  void SetLinesDivision(Int_t numlines, const Int_t* numbers);
65  void SetLinesDivision(Int_t numlines, Int_t n0=1, Int_t n1=1, Int_t n2=1, Int_t n3=1, Int_t n4=1,
66  Int_t n5=1, Int_t n6=1, Int_t n7=1, Int_t n8=1, Int_t n9=1);
67  TGo4Picture* LPic(Int_t nline, Int_t ncol);
68 
69  // add histogram (name) to picture or subpicture
70  void AddH1(TH1* histo, Option_t* DrawOption = 0);
71  void AddH1(Int_t posy, Int_t posx, TH1* histo, Option_t* DrawOption = 0);
72 
73  // add stack (name) to picture or subpicture
74  void AddHStack(THStack* st, Option_t* DrawOption = 0);
75  void AddHStack(Int_t posy, Int_t posx, THStack* st, Option_t* DrawOption = 0);
76 
77  // add TGraph object (name) to picture
78  void AddGraph(TGraph* gr, Option_t* DrawOption = 0);
79  void AddGraph(Int_t posy, Int_t posx, TGraph* gr, Option_t* DrawOption = 0);
80 
81  // add condition (name) to picture or subpicture
82  void AddCondition(TNamed* cond = 0);
83  void AddCondition(Int_t posy, Int_t posx, TNamed* cond = 0);
84 
85  // clear names of any objects (include histos and conditions) from subpicture (may be recursive)
86  void ClearObjNames(Bool_t recursive = kFALSE);
87 
88  // sets viewable range for X and Y axis
89  void SetRangeX(Double_t min, Double_t max);
90  Bool_t GetRangeX(Double_t& min, Double_t& max) const;
91  void ClearRangeX();
92  void SetRangeY(Double_t min, Double_t max);
93  Bool_t GetRangeY(Double_t& min, Double_t& max) const;
94  void ClearRangeY();
95  void SetRangeZ(Double_t min, Double_t max);
96  Bool_t GetRangeZ(Double_t& min, Double_t& max) const;
97  void ClearRangeZ();
98 
99  // set logarithmic scale for selected axis
100  void SetLogScale(Int_t nscale = 0, Int_t zn = 1);
101  Int_t GetLogScale(Int_t nscale = 0);
102  void GetLogScales(TVirtualPad* pad);
103  void ClearLogScales();
104 
105  // select index from object list, to which following options will be applied
106  void SetSelectedIndex(Int_t index = PictureIndex) { fiLastIndex = index; }
107 
108  // sets line attributes
109  void SetLineAtt(Color_t color, Style_t style, Width_t width, Int_t index = UndefIndex);
110  void SetLineAtt(TAttLine* line, Int_t index = UndefIndex);
111  Bool_t GetLineAtt(TAttLine* line, Int_t index = UndefIndex);
112  void ClearLineAtt(Int_t index = UndefIndex);
113 
114  // sets fill attributes
115  void SetFillAtt(Color_t color, Style_t style, Int_t index = UndefIndex);
116  void SetFillAtt(TAttFill* fill, Int_t index = UndefIndex);
117  Bool_t GetFillAtt(TAttFill* fill, Int_t index = UndefIndex);
118  void ClearFillAtt(Int_t index = UndefIndex);
119 
120  // set marker attributes
121  void SetMarkerAtt(Color_t color, Size_t size, Style_t style, Int_t index = UndefIndex);
122  void SetMarkerAtt(TAttMarker* marker, Int_t index = UndefIndex);
123  Bool_t GetMarkerAtt(TAttMarker* marker, Int_t index = UndefIndex);
124  void ClearMarkerAtt(Int_t index = UndefIndex);
125 
126  // set rebin attributes
127  void SetRebinX(Int_t ngroupx, Int_t index = UndefIndex);
128  void SetRebinY(Int_t ngroupy, Int_t index = UndefIndex);
129  Int_t GetRebinX(Int_t index = UndefIndex);
130  Int_t GetRebinY(Int_t index = UndefIndex);
131  void ClearRebin(Int_t index = UndefIndex);
132 
133  // copy all available attributes from object to picture
134  void SetDrawAttributes(TObject* obj, Int_t index = UndefIndex);
135  // assign all available attributes from picture to object
136  void GetDrawAttributes(TObject* obj, Int_t index = UndefIndex);
137 
138  // set string draw options
139  virtual void SetDrawOption(Option_t* option = "")
140  {
141  SetDrawOption(option, UndefIndex);
142  }
143 
144  virtual void SetDrawOption(Option_t* option, Int_t index);
145 
146  virtual Option_t* GetDrawOption() const
147  {
148  return GetDrawOption(UndefIndex);
149  }
150 
151  virtual Option_t* GetDrawOption(Int_t index) const;
152 
153  // set draw style (Go4GUI index like)
154  void SetHisStats(Bool_t on);
155  Bool_t IsHisStats() const;
156 
157  void SetFrameAttr(Double_t left, Double_t top, Double_t right, Double_t bottom);
158  void SetFrameAttr(TPad* pad);
159  Bool_t GetFrameAttr(TPad* pad);
160 
161  void SetStatsAttr(Double_t x1, Double_t y1, Double_t x2, Double_t y2,
162  Int_t optstat = 1111, const char* statformat = "6.4g",
163  Int_t optfit = 1111, const char* fitformat = "5.4g");
164  void SetStatsAttr(TPaveStats* stats);
165  Bool_t GetStatsAttr(TPaveStats* stats);
166 
167  void SetHisContour(Int_t nlvl);
168  Int_t GetHisContour() const;
169 
170  void SetHisTitle(bool on);
171  Bool_t IsHisTitle() const;
172 
173  void SetTitleAttr(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t textsize = 0.);
174  void SetTitleAttr(TPaveText* titl);
175  Bool_t HasTitleAttr();
176  Bool_t GetTitleAttr(TPaveText* titl);
177 
178  void SetTitleTime(Bool_t on = kTRUE);
179  Bool_t IsTitleTime() const;
180 
181  void SetTitleDate(Bool_t on = kTRUE);
182  Bool_t IsTitleDate() const;
183 
184  void SetTitleItem(Bool_t on = kTRUE);
185  Bool_t IsTitleItem() const;
186 
187  void SetLegendDraw(bool on);
188  bool IsLegendDraw() const;
189 
190  void SetCrosshair(bool on);
191  bool IsCrosshair() const;
192 
193  void SetAutoScale(bool on);
194  bool IsAutoScale() const;
195 
196  void SetSuperimpose(bool on);
197  bool IsSuperimpose() const;
198 
199  void SetApplyToAll(bool on);
200  bool IsApplyToAll() const;
201 
202  void SetAutoZoom(bool on);
203  bool IsAutoZoom() const;
204 
205  virtual void Draw(Option_t* option = ""); // *MENU*
206 
207  virtual void Clear(Option_t* option = ""); // *MENU*
208 
209  virtual void Print(Option_t* option = "") const; // *MENU*
210 
211 #ifndef __CINT__
212  virtual void SavePrimitive(std::ostream& fs, Option_t* = "");
213 #endif
214 
215  // ====== end of USER FUNCTIONS ========================
216 
217  // add name of any object, which should be drawn in picture or sub-picture
218  void AddObjName(const char* name, Option_t* DrawOption = 0);
219  void AddObjName(Int_t posy, Int_t posx, const char* name, Option_t* DrawOption = 0);
220 
221  // adds only name of provided object
222  void AddObject(TObject* obj, Option_t* DrawOption = 0);
223  void AddObject(Int_t posy, Int_t posx, TObject* obj, Option_t* DrawOption = 0);
224 
225  void Reset() {}
226 
227  // move content from source picture
228  void UpdateFrom(TGo4Picture* source, TClass* selectedobjclass = 0);
229  void CopyOptionsFrom(TGo4Picture* source);
230 
231  Int_t GetNumObjNames();
232  const char* GetObjName(Int_t n);
233  Bool_t IsObjNames();
234 
235  // manipulation with special objects,
236  // which must be drawn on the panel / canvas
237  // This must be objects like markers, labels and so on
238  void AddSpecialObject(TObject* obj, Option_t* drawopt = 0);
239  void AddSpecialObjectXml(const char* xmlcode, Option_t* drawopt = 0);
240  TList* GetSpecialObjects() const { return fxSpecialObjects; }
241 
242  // set style object
243  void SetStyle(TStyle* style, Int_t index = UndefIndex);
244  TStyle* FindStyle(Int_t index = UndefIndex);
245  TStyle* GetStyle(Int_t index = UndefIndex);
246 
247 
248  void SetAxisLabelFontSize(Int_t naxis, Float_t LabelSize, Int_t index = UndefIndex);
249  void SetAxisTitleFontSize(Int_t naxis, Float_t TitleSize, Int_t index = UndefIndex);
250  void SetAxisAtt(Int_t naxis,
251  Color_t AxisColor,
252  Color_t LabelColor,
253  Style_t LabelFont,
254  Float_t LabelOffset,
255  Float_t LabelSize,
256  Int_t Ndivisions,
257  Float_t TickLength,
258  Color_t TitleColor,
259  Style_t TitleFont,
260  Float_t TitleOffset,
261  Float_t TitleSize,
262  Bool_t decimals,
263  const char* ticks,
264  Int_t bits,
265  Int_t index = UndefIndex);
266 
267  // for the moment, use separate function to define x axis time format JAM
268  void SetXAxisAttTime(Bool_t timedisplay, const char* format, Int_t index = UndefIndex);
269 
270  Bool_t IsXAxisTimeDisplay();
271 
272  void SetXAxisTimeDisplay(Bool_t on);
273 
274  void SetXAxisTimeFormat(const char* format);
275 
276  const char* GetXAxisTimeFormat();
277 
278  void SetXYRatioOne(Bool_t on);
279  Bool_t IsXYRatioOne();
280 
281 // void SetDefaultRatio(Bool_t on);
282 // Bool_t CheckDefaultRatio();
283 
284  void SetPadAtt(Int_t BorderMode,
285  Int_t BorderSize,
286  Int_t Gridx,
287  Int_t Gridy,
288  Double_t Phi,
289  Double_t Theta,
290  Int_t Tickx,
291  Int_t Ticky,
292  Int_t index = PictureIndex);
293 
294  // fields, which are used in MainGUI to handle drawing
295 
296  void SetContentModified(bool on = true);
297  bool IsContentModified() const;
298 
299  void SetPadModified(bool on = true);
300  bool IsPadModified() const;
301 
302  void SetFullRangeDim(Int_t ndim);
303  Int_t GetFullRangeDim() const;
304  void SetFullRange(Int_t naxis, Double_t min, Double_t max);
305  Bool_t GetFullRange(Int_t naxis, Double_t& min, Double_t& max);
306  void ClearFullRange(Int_t naxis = -1);
307 
308  void SetRange(Int_t naxis, Double_t min, Double_t max);
309  Bool_t GetRange(Int_t naxis, Double_t& min, Double_t& max) const;
310  void ClearRange(Int_t naxis = -1);
311 
312  void ChangeDrawOption(Int_t kind, Int_t value);
313 
315  Long_t GetTotalSize();
316 
317  static void Add(TString& s, const char* buf) { s+=buf; }
318 
319  protected:
320  TGo4Picture(TGo4Picture& picture);
321  void AddSubPicture(TGo4Picture* pic);
322 
323  Int_t GetObjAttIndex(TObject* obj);
324 
325  void SetPosition(Int_t posy, Int_t posx);
326  Bool_t CheckPosition(Int_t posy, Int_t posx) const;
327 
328  Int_t FindOptPos(Short_t index, Short_t typ) const;
329  Int_t ExtendOptPos(Short_t index, Short_t typ);
330 
331  void SetOption(Short_t index, Short_t typ, Long_t value);
332  using TObject::GetOption;
333  Bool_t GetOption(Short_t index, Short_t typ, Long_t& value) const;
334  Long_t GetI(Short_t index, Short_t typ, Long_t def = 0) const;
335 
336  void SetOptionF(Short_t index, Short_t typ, Float_t value);
337  Bool_t GetOptionF(Short_t index, Short_t typ, Float_t& value) const;
338 
339  void SetOptionD(Short_t index, Short_t typ, Double_t value);
340  Bool_t GetOptionD(Short_t index, Short_t typ, Double_t& value) const;
341  Double_t GetD(Short_t index, Short_t typ, Double_t def = 0.) const;
342 
343  void SetObjOption(Short_t index, Short_t typ, TObject* obj);
344  TObject *GetObjOption(Short_t index, Short_t typ) const;
345 
346  void SetStrOption(Short_t index, Short_t typ, const char* value);
347  const char* GetStrOption(Short_t index, Short_t typ, const char* defvalue = 0) const;
348 
349  void ClearOption(Short_t index, Short_t typ);
350  void ClearOption(Int_t pos);
351  void ClearAllOptions(Short_t index = UndefIndex);
352 
353  void* Cast(TObject* obj, TClass* cl);
354 
355  void CheckIndex(Int_t &index) const;
356 
357  void DrawPic(TVirtualPad* pad);
358 
359  void PrintPic(int shift, Bool_t showopt);
360 
361  void SetH1Att(TH1* h1, Int_t index = UndefIndex);
362  void GetH1Att(TH1* h1, Int_t index = UndefIndex);
363  void SetAxisAtt(Int_t naxis, TAxis* axis, Int_t index = UndefIndex);
364  void GetAxisAtt(Int_t naxis, TAxis* axis, Int_t index = UndefIndex);
365  void SetPadAtt(TPad* pad, Int_t index = UndefIndex);
366  void GetPadAtt(TPad* pad, Int_t index = UndefIndex);
367 
368  void MakeScript(std::ostream& fs, const char* name);
369 
370  void MakeAxisScript(std::ostream& fs, const char* name, Int_t indx, Int_t naxis);
371 
372  private:
373  Int_t fiNDivX;
374  Int_t fiNDivY;
375 
376  Int_t fiPosX;
377  Int_t fiPosY;
378 
379  TObjArray* fxNames;
380 
381  TObjArray* fxObjects;
382 
383  TObjArray* fxSubPictures;
384 
385  Int_t fiOptSize;
386  TArrayL fxOptIndex;
387  TArrayL fxOptValue;
388  TObjArray* fxOptObjects;
389 
391 
392  Int_t fiLastIndex;
393 
394  ClassDef(TGo4Picture, 3)
395 };
396 
397 #endif //TGO4PICTURE_H
398 
399 
void SetStyle(TStyle *style, Int_t index=UndefIndex)
void SetRange(Int_t naxis, Double_t min, Double_t max)
void SetTitleTime(Bool_t on=kTRUE)
void ClearOption(Short_t index, Short_t typ)
void SetHisContour(Int_t nlvl)
bool IsContentModified() const
Int_t GetDivX()
Definition: TGo4Picture.h:54
const char * GetXAxisTimeFormat()
Bool_t GetFillAtt(TAttFill *fill, Int_t index=UndefIndex)
Bool_t CheckPosition(Int_t posy, Int_t posx) const
Int_t GetNumObjNames()
void AddH1(TH1 *histo, Option_t *DrawOption=0)
void SetAutoZoom(bool on)
void UpdateFrom(TGo4Picture *source, TClass *selectedobjclass=0)
void AddObjName(const char *name, Option_t *DrawOption=0)
void SetPosition(Int_t posy, Int_t posx)
Int_t fiNDivY
Definition: TGo4Picture.h:374
Int_t fiPosX
Definition: TGo4Picture.h:376
virtual void SavePrimitive(std::ostream &fs, Option_t *="")
TObjArray * fxSubPictures
Definition: TGo4Picture.h:383
TArrayL fxOptIndex
Definition: TGo4Picture.h:386
Bool_t IsDivided()
Definition: TGo4Picture.h:56
Int_t GetLogScale(Int_t nscale=0)
void SetRangeY(Double_t min, Double_t max)
void SetCrosshair(bool on)
void SetDrawHeader(Bool_t draw=kTRUE)
Int_t FindOptPos(Short_t index, Short_t typ) const
void SetObjOption(Short_t index, Short_t typ, TObject *obj)
void GetAxisAtt(Int_t naxis, TAxis *axis, Int_t index=UndefIndex)
void GetPadAtt(TPad *pad, Int_t index=UndefIndex)
void CopyOptionsFrom(TGo4Picture *source)
const char * GetObjName(Int_t n)
TStyle * FindStyle(Int_t index=UndefIndex)
Double_t GetD(Short_t index, Short_t typ, Double_t def=0.) const
bool IsAutoScale() const
virtual void Draw(Option_t *option="")
Bool_t IsHisStats() const
TList * fxSpecialObjects
Definition: TGo4Picture.h:390
Bool_t GetTitleAttr(TPaveText *titl)
void SetStrOption(Short_t index, Short_t typ, const char *value)
void AddSpecialObjectXml(const char *xmlcode, Option_t *drawopt=0)
void SetSelectedIndex(Int_t index=PictureIndex)
Definition: TGo4Picture.h:106
void PrintPic(int shift, Bool_t showopt)
Bool_t GetRange(Int_t naxis, Double_t &min, Double_t &max) const
Bool_t GetFullRange(Int_t naxis, Double_t &min, Double_t &max)
void ClearLogScales()
void ClearAllOptions(Short_t index=UndefIndex)
Int_t GetRebinY(Int_t index=UndefIndex)
void SetAxisAtt(Int_t naxis, Color_t AxisColor, Color_t LabelColor, Style_t LabelFont, Float_t LabelOffset, Float_t LabelSize, Int_t Ndivisions, Float_t TickLength, Color_t TitleColor, Style_t TitleFont, Float_t TitleOffset, Float_t TitleSize, Bool_t decimals, const char *ticks, Int_t bits, Int_t index=UndefIndex)
void GetH1Att(TH1 *h1, Int_t index=UndefIndex)
TObjArray * fxObjects
Definition: TGo4Picture.h:381
void ClearFillAtt(Int_t index=UndefIndex)
void SetOptionD(Short_t index, Short_t typ, Double_t value)
void SetHisTitle(bool on)
Bool_t IsXYRatioOne()
static void Add(TString &s, const char *buf)
Definition: TGo4Picture.h:317
virtual Option_t * GetDrawOption() const
Definition: TGo4Picture.h:146
void SetAxisTitleFontSize(Int_t naxis, Float_t TitleSize, Int_t index=UndefIndex)
Bool_t GetOptionD(Short_t index, Short_t typ, Double_t &value) const
void SetTitleItem(Bool_t on=kTRUE)
void SetAxisLabelFontSize(Int_t naxis, Float_t LabelSize, Int_t index=UndefIndex)
void * Cast(TObject *obj, TClass *cl)
void SetXAxisTimeFormat(const char *format)
void ChangeDrawOption(Int_t kind, Int_t value)
void ClearLineAtt(Int_t index=UndefIndex)
void DrawPic(TVirtualPad *pad)
const char * GetStrOption(Short_t index, Short_t typ, const char *defvalue=0) const
TGo4Picture * Pic(Int_t posy, Int_t posx)
Int_t fiOptSize
Definition: TGo4Picture.h:385
bool IsAutoZoom() const
Bool_t GetStatsAttr(TPaveStats *stats)
bool IsApplyToAll() const
void SetApplyToAll(bool on)
void ClearRebin(Int_t index=UndefIndex)
void AddHStack(THStack *st, Option_t *DrawOption=0)
void SetFullRangeDim(Int_t ndim)
Bool_t HasTitleAttr()
void SetPadAtt(Int_t BorderMode, Int_t BorderSize, Int_t Gridx, Int_t Gridy, Double_t Phi, Double_t Theta, Int_t Tickx, Int_t Ticky, Int_t index=PictureIndex)
void SetDivision(Int_t ndivy, Int_t ndivx)
TObjArray * fxNames
Definition: TGo4Picture.h:379
virtual void Clear(Option_t *option="")
TObject * GetObjOption(Short_t index, Short_t typ) const
void SetStatsAttr(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Int_t optstat=1111, const char *statformat="6.4g", Int_t optfit=1111, const char *fitformat="5.4g")
void SetH1Att(TH1 *h1, Int_t index=UndefIndex)
void AddObject(TObject *obj, Option_t *DrawOption=0)
TGo4Picture & operator()(int posy, int posx)
Definition: TGo4Picture.h:58
Int_t fiLastIndex
Definition: TGo4Picture.h:392
void SetXAxisTimeDisplay(Bool_t on)
TObjArray * fxOptObjects
Definition: TGo4Picture.h:388
void SetRebinY(Int_t ngroupy, Int_t index=UndefIndex)
void AddSubPicture(TGo4Picture *pic)
bool IsCrosshair() const
void SetXYRatioOne(Bool_t on)
void GetLogScales(TVirtualPad *pad)
void CheckIndex(Int_t &index) const
void SetLogScale(Int_t nscale=0, Int_t zn=1)
Bool_t GetFrameAttr(TPad *pad)
bool IsSuperimpose() const
void Reset()
Definition: TGo4Picture.h:225
Bool_t GetOptionF(Short_t index, Short_t typ, Float_t &value) const
Bool_t GetOption(Short_t index, Short_t typ, Long_t &value) const
void AddGraph(TGraph *gr, Option_t *DrawOption=0)
virtual ~TGo4Picture()
void SetOptionF(Short_t index, Short_t typ, Float_t value)
void SetLegendDraw(bool on)
Int_t GetObjAttIndex(TObject *obj)
Bool_t IsXAxisTimeDisplay()
bool IsPadModified() const
Bool_t GetRangeZ(Double_t &min, Double_t &max) const
Int_t ExtendOptPos(Short_t index, Short_t typ)
Long_t GetTotalSize()
Long_t GetI(Short_t index, Short_t typ, Long_t def=0) const
Int_t GetDivY()
Definition: TGo4Picture.h:55
void ClearMarkerAtt(Int_t index=UndefIndex)
void AddCondition(TNamed *cond=0)
void SetOption(Short_t index, Short_t typ, Long_t value)
Int_t GetHisContour() const
void SetLineAtt(Color_t color, Style_t style, Width_t width, Int_t index=UndefIndex)
void ClearRangeY()
TGo4Picture * FindPic(Int_t posy, Int_t posx)
TArrayL fxOptValue
Definition: TGo4Picture.h:387
void SetHisStats(Bool_t on)
void SetLinesDivision(Int_t numlines, const Int_t *numbers)
Bool_t GetRangeY(Double_t &min, Double_t &max) const
Bool_t IsObjNames()
void ClearRangeX()
void SetMarkerAtt(Color_t color, Size_t size, Style_t style, Int_t index=UndefIndex)
Int_t fiNDivX
Definition: TGo4Picture.h:373
void SetFullRange(Int_t naxis, Double_t min, Double_t max)
void SetRangeX(Double_t min, Double_t max)
void MakeAxisScript(std::ostream &fs, const char *name, Int_t indx, Int_t naxis)
void SetFrameAttr(Double_t left, Double_t top, Double_t right, Double_t bottom)
void SetFillAtt(Color_t color, Style_t style, Int_t index=UndefIndex)
void ClearObjNames(Bool_t recursive=kFALSE)
void ClearRangeZ()
Int_t fiPosY
Definition: TGo4Picture.h:377
Bool_t IsHisTitle() const
bool IsLegendDraw() const
Bool_t IsDrawHeader()
void GetDrawAttributes(TObject *obj, Int_t index=UndefIndex)
void SetSuperimpose(bool on)
void SetRangeZ(Double_t min, Double_t max)
Bool_t IsTitleDate() const
Bool_t GetMarkerAtt(TAttMarker *marker, Int_t index=UndefIndex)
void SetDrawAttributes(TObject *obj, Int_t index=UndefIndex)
void SetPadModified(bool on=true)
void ClearFullRange(Int_t naxis=-1)
TStyle * GetStyle(Int_t index=UndefIndex)
Bool_t GetRangeX(Double_t &min, Double_t &max) const
void SetAutoScale(bool on)
void MakeScript(std::ostream &fs, const char *name)
Int_t GetRebinX(Int_t index=UndefIndex)
Int_t GetFullRangeDim() const
Bool_t GetLineAtt(TAttLine *line, Int_t index=UndefIndex)
void SetContentModified(bool on=true)
void AddSpecialObject(TObject *obj, Option_t *drawopt=0)
Bool_t IsTitleItem() const
Bool_t IsTitleTime() const
virtual void Print(Option_t *option="") const
void SetTitleDate(Bool_t on=kTRUE)
void SetRebinX(Int_t ngroupx, Int_t index=UndefIndex)
virtual void SetDrawOption(Option_t *option="")
Definition: TGo4Picture.h:139
TGo4Picture * LPic(Int_t nline, Int_t ncol)
void ClearRange(Int_t naxis=-1)
void SetXAxisAttTime(Bool_t timedisplay, const char *format, Int_t index=UndefIndex)
void SetTitleAttr(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t textsize=0.)
TList * GetSpecialObjects() const
Definition: TGo4Picture.h:240