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