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