Logo ROOT  
Reference Guide
TStyle.h
Go to the documentation of this file.
1 // @(#)root/base:$Id: 5214d7dc2746ceb518366bc6c4f4068b652d5241 $
2 // Author: Rene Brun 12/12/94
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TStyle
13 #define ROOT_TStyle
14 
15 #include "TNamed.h"
16 #include "TAttLine.h"
17 #include "TAttFill.h"
18 #include "TAttMarker.h"
19 #include "TAttText.h"
20 #include "TAttAxis.h"
21 #include "TColor.h"
22 
23 #ifndef R__LESS_INCLUDES
24 #include "TArrayI.h"
25 #endif
26 
27 class TBrowser;
28 
29 class TStyle : public TNamed, public TAttLine, public TAttFill, public TAttMarker, public TAttText {
30 
31 private:
32  TAttAxis fXaxis; ///< X axis attributes
33  TAttAxis fYaxis; ///< Y axis attributes
34  TAttAxis fZaxis; ///< Z axis attributes
35  Float_t fBarWidth; ///< Width of bar for graphs
36  Float_t fBarOffset; ///< Offset of bar for graphs
37  Int_t fColorModelPS; ///< PostScript color model: 0 = RGB, 1 = CMYK
38  Int_t fDrawBorder; ///< Flag to draw border(=1) or not (0)
39  Int_t fOptLogx; ///< True if log scale in X
40  Int_t fOptLogy; ///< True if log scale in y
41  Int_t fOptLogz; ///< True if log scale in z
42  Int_t fOptDate; ///< True if date option is selected
43  Int_t fOptStat; ///< True if option Stat is selected
44  Int_t fOptTitle; ///< True if option Title is selected
45  Int_t fOptFile; ///< True if option File is selected
46  Int_t fOptFit; ///< True if option Fit is selected
47  Int_t fShowEventStatus; ///< Show event status panel
48  Int_t fShowEditor; ///< Show pad editor
49  Int_t fShowToolBar; ///< Show toolbar
50 
51  Int_t fNumberContours; ///< Default number of contours for 2-d plots
52  TAttText fAttDate; ///< Canvas date attribute
53  Float_t fDateX; ///< X position of the date in the canvas (in NDC)
54  Float_t fDateY; ///< Y position of the date in the canvas (in NDC)
55  Float_t fEndErrorSize; ///< Size of lines at the end of error bars
56  Float_t fErrorX; ///< Per cent of bin width for errors along X
57  Color_t fFuncColor; ///< Function color
58  Style_t fFuncStyle; ///< Function style
59  Width_t fFuncWidth; ///< Function line width
60  Color_t fGridColor; ///< Grid line color (if 0 use axis line color)
61  Style_t fGridStyle; ///< Grid line style
62  Width_t fGridWidth; ///< Grid line width
63  Width_t fLegendBorderSize; ///< Legend box border size
64  Color_t fLegendFillColor; ///< Legend fill color
65  Style_t fLegendFont; ///< Legend font style
66  Double_t fLegendTextSize; ///< Legend text size. If 0 the size is computed automatically
67  Int_t fHatchesLineWidth; ///< Hatches line width for hatch styles > 3100
68  Double_t fHatchesSpacing; ///< Hatches spacing for hatch styles > 3100
69  Color_t fFrameFillColor; ///< Pad frame fill color
70  Color_t fFrameLineColor; ///< Pad frame line color
71  Style_t fFrameFillStyle; ///< Pad frame fill style
72  Style_t fFrameLineStyle; ///< Pad frame line style
73  Width_t fFrameLineWidth; ///< Pad frame line width
74  Width_t fFrameBorderSize; ///< Pad frame border size
75  Int_t fFrameBorderMode; ///< Pad frame border mode
76  Color_t fHistFillColor; ///< Histogram fill color
77  Color_t fHistLineColor; ///< Histogram line color
78  Style_t fHistFillStyle; ///< Histogram fill style
79  Style_t fHistLineStyle; ///< Histogram line style
80  Width_t fHistLineWidth; ///< Histogram line width
81  Bool_t fHistMinimumZero; ///< True if default minimum is 0, false if minimum is automatic
82  Double_t fHistTopMargin; ///< Margin between histogram's top and pad's top
83  Bool_t fCanvasPreferGL; ///< If true, rendering in canvas is with GL
84  Color_t fCanvasColor; ///< Canvas color
85  Width_t fCanvasBorderSize; ///< Canvas border size
86  Int_t fCanvasBorderMode; ///< Canvas border mode
87  Int_t fCanvasDefH; ///< Default canvas height
88  Int_t fCanvasDefW; ///< Default canvas width
89  Int_t fCanvasDefX; ///< Default canvas top X position
90  Int_t fCanvasDefY; ///< Default canvas top Y position
91  Color_t fPadColor; ///< Pad color
92  Width_t fPadBorderSize; ///< Pad border size
93  Int_t fPadBorderMode; ///< Pad border mode
94  Float_t fPadBottomMargin; ///< Pad bottom margin
95  Float_t fPadTopMargin; ///< Pad top margin
96  Float_t fPadLeftMargin; ///< Pad left margin
97  Float_t fPadRightMargin; ///< Pad right margin
98  Bool_t fPadGridX; ///< True to get the grid along X
99  Bool_t fPadGridY; ///< True to get the grid along Y
100  Int_t fPadTickX; ///< True to set special pad ticks along X
101  Int_t fPadTickY; ///< True to set special pad ticks along Y
102  Float_t fPaperSizeX; ///< PostScript paper size along X
103  Float_t fPaperSizeY; ///< PostScript paper size along Y
104  Float_t fScreenFactor; ///< Multiplication factor for canvas size and position
105  Color_t fStatColor; ///< Stat fill area color
106  Color_t fStatTextColor; ///< Stat text color
107  Width_t fStatBorderSize; ///< Border size of Stats PaveLabel
108  Style_t fStatFont; ///< Font style of Stats PaveLabel
109  Float_t fStatFontSize; ///< Font size in pixels for fonts with precision type 3
110  Style_t fStatStyle; ///< Fill area style of Stats PaveLabel
111  TString fStatFormat; ///< Printing format for stats
112  Float_t fStatX; ///< X position of top right corner of stat box
113  Float_t fStatY; ///< Y position of top right corner of stat box
114  Float_t fStatW; ///< Width of stat box
115  Float_t fStatH; ///< Height of stat box
116  Bool_t fStripDecimals; ///< Strip decimals in axis labels
117  Int_t fTitleAlign; ///< Title box alignment
118  Color_t fTitleColor; ///< Title fill area color
119  Color_t fTitleTextColor; ///< Title text color
120  Width_t fTitleBorderSize; ///< Border size of Title PavelLabel
121  Style_t fTitleFont; ///< Font style of Title PaveLabel
122  Float_t fTitleFontSize; ///< Font size in pixels for fonts with precision type 3
123  Style_t fTitleStyle; ///< Fill area style of title PaveLabel
124  Float_t fTitleX; ///< X position of top left corner of title box
125  Float_t fTitleY; ///< Y position of top left corner of title box
126  Float_t fTitleW; ///< Width of title box
127  Float_t fTitleH; ///< Height of title box
128  Float_t fLegoInnerR; ///< Inner radius for cylindrical legos
129  TString fLineStyle[30]; ///< String describing line style i (for postScript)
130  TString fHeaderPS; ///< User defined additional Postscript header
131  TString fTitlePS; ///< User defined Postscript file title
132  TString fFitFormat; ///< Printing format for fit parameters
133  TString fPaintTextFormat; ///< Printing format for TH2::PaintText
134  Float_t fLineScalePS; ///< Line scale factor when drawing lines on Postscript
135  Int_t fJoinLinePS; ///< Determines the appearance of joining lines on PostScript, PDF and SVG
136  Int_t fCapLinePS; ///< Determines the appearance of line caps on PostScript, PDF and SVG
137  Double_t fTimeOffset; ///< Time offset to the beginning of an axis
138  Bool_t fIsReading; ///<! Set to FALSE when userclass::UseCurrentStyle is called by the style manager
139  Float_t fImageScaling; ///< Image scaling to produce high definition bitmap images
140 
141 public:
143 
144  TStyle();
145  TStyle(const char *name, const char *title);
146  TStyle(const TStyle &style);
147  TStyle& operator=(const TStyle& style);
148  virtual ~TStyle();
149  inline Int_t AxisChoice(Option_t *axis) const {
150  // Return axis number (1 for X, 2 for Y, 3 for Z)
151  UChar_t a = *axis;
152  a -= (a >= 'x') ? 'x' : 'X'; // toupper and a-='X'; intentional underflow
153  return (a > 2) ? 0 : (Int_t)(a+1);
154  };
155  virtual void Browse(TBrowser *b);
156  static void BuildStyles();
157  virtual void Copy(TObject &style) const;
158  virtual void cd();
159 
160  virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
161  Int_t GetNdivisions(Option_t *axis="X") const;
163  Color_t GetAxisColor(Option_t *axis="X") const;
164  Color_t GetLabelColor(Option_t *axis="X") const;
165  Style_t GetLabelFont(Option_t *axis="X") const;
166  Float_t GetLabelOffset(Option_t *axis="X") const;
167  Float_t GetLabelSize(Option_t *axis="X") const;
168  Color_t GetTitleColor(Option_t *axis="X") const; //return axis title color of pad title color
169  Style_t GetTitleFont(Option_t *axis="X") const; //return axis title font of pad title font
170  Float_t GetTitleOffset(Option_t *axis="X") const; //return axis title offset
171  Float_t GetTitleSize(Option_t *axis="X") const; //return axis title size
172  Float_t GetTickLength(Option_t *axis="X") const;
173 
174  Float_t GetBarOffset() const {return fBarOffset;}
175  Float_t GetBarWidth() const {return fBarWidth;}
176  Int_t GetDrawBorder() const {return fDrawBorder;}
178  Float_t GetErrorX() const {return fErrorX;}
183  Int_t GetCanvasDefH() const {return fCanvasDefH;}
184  Int_t GetCanvasDefW() const {return fCanvasDefW;}
185  Int_t GetCanvasDefX() const {return fCanvasDefX;}
186  Int_t GetCanvasDefY() const {return fCanvasDefY;}
187  Int_t GetColorPalette(Int_t i) const;
189  Float_t GetDateX() const {return fDateX;}
190  Float_t GetDateY() const {return fDateY;}
191  const char *GetFitFormat() const {return fFitFormat.Data();}
198  Int_t GetNumberOfColors() const;
199  Color_t GetPadColor() const {return fPadColor;}
206  Bool_t GetPadGridX() const {return fPadGridX;}
207  Bool_t GetPadGridY() const {return fPadGridY;}
208  Int_t GetPadTickX() const {return fPadTickX;}
209  Int_t GetPadTickY() const {return fPadTickY;}
210  Color_t GetFuncColor() const {return fFuncColor;}
211  Style_t GetFuncStyle() const {return fFuncStyle;}
212  Width_t GetFuncWidth() const {return fFuncWidth;}
213  Color_t GetGridColor() const {return fGridColor;}
214  Style_t GetGridStyle() const {return fGridStyle;}
215  Width_t GetGridWidth() const {return fGridWidth;}
233  Int_t GetOptDate() const {return fOptDate;}
234  Int_t GetOptFile() const {return fOptFile;}
235  Int_t GetOptFit() const {return fOptFit;}
236  Int_t GetOptStat() const {return fOptStat;}
237  Int_t GetOptTitle() const {return fOptTitle;}
238  Int_t GetOptLogx() const {return fOptLogx;}
239  Int_t GetOptLogy() const {return fOptLogy;}
240  Int_t GetOptLogz() const {return fOptLogz;}
241  const char *GetPaintTextFormat() const {return fPaintTextFormat.Data();}
242  void GetPaperSize(Float_t &xsize, Float_t &ysize) const;
244  Int_t GetShowEditor() const {return fShowEditor;}
246 
248  Color_t GetStatColor() const {return fStatColor;}
251  Style_t GetStatFont() const {return fStatFont;}
253  Style_t GetStatStyle() const {return fStatStyle;}
254  const char *GetStatFormat() const {return fStatFormat.Data();}
255  Float_t GetStatX() const {return fStatX;}
256  Float_t GetStatY() const {return fStatY;}
257  Float_t GetStatW() const {return fStatW;}
258  Float_t GetStatH() const {return fStatH;}
260  Double_t GetTimeOffset() const {return fTimeOffset;} //return axis time offset
261  Int_t GetTitleAlign() {return fTitleAlign;} // return the histogram title TPaveLabel alignment
262  Color_t GetTitleFillColor() const {return fTitleColor;} //return histogram title fill area color
263  Color_t GetTitleTextColor() const {return fTitleTextColor;} //return histogram title text color
265  Float_t GetTitleFontSize() const {return fTitleFontSize;} //return histogram title font size
266  Width_t GetTitleBorderSize() const {return fTitleBorderSize;} //return border size of histogram title TPaveLabel
267  Float_t GetTitleXOffset() const {return GetTitleOffset("X");} //return X axis title offset
268  Float_t GetTitleXSize() const {return GetTitleSize("X");} //return X axis title size
269  Float_t GetTitleYOffset() const {return GetTitleOffset("Y");} //return Y axis title offset
270  Float_t GetTitleYSize() const {return GetTitleSize("Y");} //return Y axis title size
271  Float_t GetTitleX() const {return fTitleX;} //return left X position of histogram title TPavelabel
272  Float_t GetTitleY() const {return fTitleY;} //return left bottom position of histogram title TPavelabel
273  Float_t GetTitleW() const {return fTitleW;} //return width of histogram title TPaveLabel
274  Float_t GetTitleH() const {return fTitleH;} //return height of histogram title TPavelabel
275  const char *GetHeaderPS() const {return fHeaderPS.Data();}
276  const char *GetTitlePS() const {return fTitlePS.Data();}
277  const char *GetLineStyleString(Int_t i=1) const;
278  Int_t GetJoinLinePS() const {return fJoinLinePS;} ///< Returns the line join method used for PostScript, PDF and SVG output. See `TPostScript::SetLineJoin` for details.
279  Int_t GetCapLinePS() const {return fCapLinePS;} ///< Returns the line cap method used for PostScript, PDF and SVG output. See `TPostScript::SetLineCap` for details.
281 
282  Bool_t IsReading() const {return fIsReading;}
283  virtual void Paint(Option_t *option="");
284  virtual void Reset(Option_t *option="");
285 
286  void SetColorModelPS(Int_t c=0);
287  void SetFitFormat(const char *format="5.4g") {fFitFormat = format;}
288  void SetHeaderPS(const char *header);
291  void SetTitlePS(const char *pstitle);
292  void SetJoinLinePS(Int_t joinline=0) {fJoinLinePS=joinline;} ///< Set the line join method used for PostScript, PDF and SVG output. See `TPostScript::SetLineJoin` for details.
293  void SetCapLinePS(Int_t capline=0) {fCapLinePS=capline;} ///< Set the line cap method used for PostScript, PDF and SVG output. See `TPostScript::SetLineCap` for details.
294  void SetLineScalePS(Float_t scale=3) {fLineScalePS=scale;}
295  void SetLineStyleString(Int_t i, const char *text);
296  void SetNdivisions(Int_t n=510, Option_t *axis="X");
297  void SetAxisColor(Color_t color=1, Option_t *axis="X");
298  void SetLabelColor(Color_t color=1, Option_t *axis="X");
299  void SetLabelFont(Style_t font=62, Option_t *axis="X");
300  void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X");
301  void SetLabelSize(Float_t size=0.04, Option_t *axis="X");
303  void SetScreenFactor(Float_t factor=1) {fScreenFactor = factor;}
304  void SetTickLength(Float_t length=0.03, Option_t *axis="X");
305  void SetTitleColor(Color_t color=1, Option_t *axis="X"); //set axis title color or pad title color
306  void SetTitleFont(Style_t font=62, Option_t *axis="X"); //set axis title font or pad title font
307  void SetTitleOffset(Float_t offset=1, Option_t *axis="X"); //set axis title offset
308  void SetTitleSize(Float_t size=0.02, Option_t *axis="X"); //set axis title size or pad title size
309  void SetNumberContours(Int_t number=20);
310  void SetOptDate(Int_t datefl=1);
312  void SetOptFit(Int_t fit=1);
313  void SetOptLogx(Int_t logx=1) {fOptLogx = logx;}
314  void SetOptLogy(Int_t logy=1) {fOptLogy = logy;}
315  void SetOptLogz(Int_t logz=1) {fOptLogz = logz;}
316  void SetOptStat(Int_t stat=1);
317  void SetOptStat(Option_t *stat);
318  void SetOptTitle(Int_t tit=1) {fOptTitle = tit;}
319  void SetBarOffset(Float_t baroff=0.5) {fBarOffset = baroff;}
320  void SetBarWidth(Float_t barwidth=0.5) {fBarWidth = barwidth;}
321  void SetDateX(Float_t x=0.01) {fDateX = x;}
322  void SetDateY(Float_t y=0.01) {fDateY = y;}
323  void SetEndErrorSize(Float_t np=2);
324  void SetErrorX(Float_t errorx=0.5) {fErrorX = errorx;}
326  void SetDrawBorder(Int_t drawborder=1) {fDrawBorder = drawborder;}
327  void SetCanvasColor(Color_t color=19) {fCanvasColor = color;}
331  void SetCanvasDefW(Int_t w=700) {fCanvasDefW = w;}
332  void SetCanvasDefX(Int_t topx=10) {fCanvasDefX = topx;}
333  void SetCanvasDefY(Int_t topy=10) {fCanvasDefY = topy;}
335  void SetLegendFillColor(Color_t color=0) {fLegendFillColor = color;}
336  void SetLegendFont(Style_t font=62) {fLegendFont = font;}
338  void SetPadColor(Color_t color=19) {fPadColor = color;}
339  void SetPadBorderSize(Width_t size=1) {fPadBorderSize = size;}
340  void SetPadBorderMode(Int_t mode=1) {fPadBorderMode = mode;}
341  void SetPadBottomMargin(Float_t margin=0.1) {fPadBottomMargin=margin;}
342  void SetPadTopMargin(Float_t margin=0.1) {fPadTopMargin=margin;}
343  void SetPadLeftMargin(Float_t margin=0.1) {fPadLeftMargin=margin;}
344  void SetPadRightMargin(Float_t margin=0.1) {fPadRightMargin=margin;}
345  void SetPadGridX(Bool_t gridx) {fPadGridX = gridx;}
346  void SetPadGridY(Bool_t gridy) {fPadGridY = gridy;}
347  void SetPadTickX(Int_t tickx) {fPadTickX = tickx;}
348  void SetPadTickY(Int_t ticky) {fPadTickY = ticky;}
350  void SetFuncColor(Color_t color=1) {fFuncColor = color;}
353  void SetGridColor(Color_t color=0) {fGridColor = color;}
355  void SetFrameFillColor(Color_t color=1) {fFrameFillColor = color;}
356  void SetFrameLineColor(Color_t color=1) {fFrameLineColor = color;}
362  void SetHistFillColor(Color_t color=1) {fHistFillColor = color;}
363  void SetHistLineColor(Color_t color=1) {fHistLineColor = color;}
364  void SetHistFillStyle(Style_t styl=0) {fHistFillStyle = styl;}
365  void SetHistLineStyle(Style_t styl=0) {fHistLineStyle = styl;}
367  void SetHistMinimumZero(Bool_t zero=kTRUE);
368  void SetHistTopMargin(Double_t hmax=0.05) {fHistTopMargin = hmax;}
369  void SetPaintTextFormat(const char *format="g") {fPaintTextFormat = format;}
371  void SetPaperSize(EPaperSize size);
372  void SetPaperSize(Float_t xsize=20, Float_t ysize=26);
373  void SetStatColor(Color_t color=19) {fStatColor=color;}
374  void SetStatTextColor(Color_t color=1) {fStatTextColor=color;}
377  void SetStatFont(Style_t font=62) {fStatFont=font;}
378  void SetStatFontSize(Float_t size=0) {fStatFontSize=size;}
379  void SetStatFormat(const char *format="6.4g") {fStatFormat = format;}
380  void SetStatX(Float_t x=0) {fStatX=x;}
381  void SetStatY(Float_t y=0) {fStatY=y;}
382  void SetStatW(Float_t w=0.19) {fStatW=w;}
383  void SetStatH(Float_t h=0.1) {fStatH=h;}
384  void SetStripDecimals(Bool_t strip=kTRUE);
385  void SetTimeOffset(Double_t toffset);
387  void SetTitleFillColor(Color_t color=1) {fTitleColor=color;}
392  void SetTitleXOffset(Float_t offset=1) {SetTitleOffset(offset,"X");}
393  void SetTitleXSize(Float_t size=0.02) {SetTitleSize(size,"X");}
394  void SetTitleYOffset(Float_t offset=1) {SetTitleOffset(offset,"Y");}
395  void SetTitleYSize(Float_t size=0.02) {SetTitleSize(size,"Y");}
397  void SetTitleY(Float_t y=0.985) {fTitleY=y;}
398  void SetTitleW(Float_t w=0) {fTitleW=w;}
401  void ToggleEditor() { fShowEditor = fShowEditor ? 0 : 1; }
403  void SetIsReading(Bool_t reading=kTRUE);
404  void SetPalette(Int_t ncolors=kBird, Int_t *colors=0, Float_t alpha=1.);
405  void SavePrimitive(std::ostream &out, Option_t * = "");
406  void SaveSource(const char *filename, Option_t *option=0);
407 
408  ClassDef(TStyle, 19); //A collection of all graphics attributes
409 };
410 
411 
413 
414 #endif
TStyle::SetCanvasPreferGL
void SetCanvasPreferGL(Bool_t prefer=kTRUE)
Definition: TStyle.h:325
c
#define c(i)
Definition: RSha256.hxx:119
l
auto * l
Definition: textangle.C:4
TStyle::SetLabelSize
void SetLabelSize(Float_t size=0.04, Option_t *axis="X")
Set size of axis labels.
Definition: TStyle.cxx:1395
TAttText
Definition: TAttText.h:18
TStyle::SetGridWidth
void SetGridWidth(Width_t width=1)
Definition: TStyle.h:354
TStyle::SetOptLogy
void SetOptLogy(Int_t logy=1)
Definition: TStyle.h:314
TStyle::Copy
virtual void Copy(TObject &style) const
Copy this style.
Definition: TStyle.cxx:536
n
const Int_t n
Definition: legend1.C:16
TStyle::SetTickLength
void SetTickLength(Float_t length=0.03, Option_t *axis="X")
Set the tick marks length for an axis.
Definition: TStyle.cxx:1688
TStyle::SetPadColor
void SetPadColor(Color_t color=19)
Definition: TStyle.h:338
TStyle::GetPadBorderMode
Int_t GetPadBorderMode() const
Definition: TStyle.h:201
TStyle::GetEndErrorSize
Float_t GetEndErrorSize() const
Definition: TStyle.h:177
TStyle::GetTickLength
Float_t GetTickLength(Option_t *axis="X") const
Return tick length.
Definition: TStyle.cxx:1142
TStyle::SetStatW
void SetStatW(Float_t w=0.19)
Definition: TStyle.h:382
TStyle::GetStatW
Float_t GetStatW() const
Definition: TStyle.h:257
TStyle::SetHatchesSpacing
void SetHatchesSpacing(Double_t h)
Definition: TStyle.h:290
TStyle::SetStatBorderSize
void SetStatBorderSize(Width_t size=2)
Definition: TStyle.h:376
TStyle::SetTitleFont
void SetTitleFont(Style_t font=62, Option_t *axis="X")
Definition: TStyle.cxx:1728
TBrowser
Definition: TBrowser.h:37
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
TStyle::fHeaderPS
TString fHeaderPS
User defined additional Postscript header.
Definition: TStyle.h:130
TStyle::GetTitlePS
const char * GetTitlePS() const
Definition: TStyle.h:276
TStyle::fCanvasBorderSize
Width_t fCanvasBorderSize
Canvas border size.
Definition: TStyle.h:85
Style_t
short Style_t
Definition: RtypesCore.h:80
TStyle::SetStatTextColor
void SetStatTextColor(Color_t color=1)
Definition: TStyle.h:374
TStyle::SetPadBottomMargin
void SetPadBottomMargin(Float_t margin=0.1)
Definition: TStyle.h:341
TStyle::GetPaintTextFormat
const char * GetPaintTextFormat() const
Definition: TStyle.h:241
TStyle::GetFitFormat
const char * GetFitFormat() const
Definition: TStyle.h:191
TStyle::fStatFormat
TString fStatFormat
Printing format for stats.
Definition: TStyle.h:111
TStyle::SetHistMinimumZero
void SetHistMinimumZero(Bool_t zero=kTRUE)
If the argument zero=kTRUE the minimum value for the Y axis of 1-d histograms is set to 0.
Definition: TStyle.cxx:1239
TStyle::GetOptLogy
Int_t GetOptLogy() const
Definition: TStyle.h:239
TStyle::GetFuncColor
Color_t GetFuncColor() const
Definition: TStyle.h:210
TStyle::GetTitleYSize
Float_t GetTitleYSize() const
Definition: TStyle.h:270
TStyle::~TStyle
virtual ~TStyle()
Destructor.
Definition: TStyle.cxx:478
TStyle::SetTitlePS
void SetTitlePS(const char *pstitle)
Define a string to be used in the %Title of the Postscript files.
Definition: TStyle.cxx:1334
TStyle::fHistLineColor
Color_t fHistLineColor
Histogram line color.
Definition: TStyle.h:77
TStyle::SetTitleStyle
void SetTitleStyle(Style_t style=1001)
Definition: TStyle.h:389
TStyle::SetScreenFactor
void SetScreenFactor(Float_t factor=1)
Definition: TStyle.h:303
TStyle::GetFrameLineColor
Color_t GetFrameLineColor() const
Definition: TStyle.h:217
TStyle::GetTitleY
Float_t GetTitleY() const
Definition: TStyle.h:272
TStyle::SavePrimitive
void SavePrimitive(std::ostream &out, Option_t *="")
Save a main frame widget as a C++ statement(s) on output stream out.
Definition: TStyle.cxx:1882
TMath::Max
Short_t Max(Short_t a, Short_t b)
Definition: TMathBase.h:212
TStyle::SetTitleYSize
void SetTitleYSize(Float_t size=0.02)
Definition: TStyle.h:395
TStyle::SetPaintTextFormat
void SetPaintTextFormat(const char *format="g")
Definition: TStyle.h:369
TStyle::fTitleColor
Color_t fTitleColor
Title fill area color.
Definition: TStyle.h:118
TStyle::SetLineStyleString
void SetLineStyleString(Int_t i, const char *text)
Set line style string using the PostScript convention.
Definition: TStyle.cxx:1434
TStyle::fHistTopMargin
Double_t fHistTopMargin
Margin between histogram's top and pad's top.
Definition: TStyle.h:82
TStyle::SetLabelColor
void SetLabelColor(Color_t color=1, Option_t *axis="X")
Set axis labels color.
Definition: TStyle.cxx:1344
TStyle::fCanvasColor
Color_t fCanvasColor
Canvas color.
Definition: TStyle.h:84
TString::Data
const char * Data() const
Definition: TString.h:369
TStyle::fIsReading
Bool_t fIsReading
! Set to FALSE when userclass::UseCurrentStyle is called by the style manager
Definition: TStyle.h:138
TStyle::GetCanvasBorderMode
Int_t GetCanvasBorderMode() const
Definition: TStyle.h:182
TStyle::GetTitleOffset
Float_t GetTitleOffset(Option_t *axis="X") const
Return title offset.
Definition: TStyle.cxx:1178
TStyle::GetDateX
Float_t GetDateX() const
Definition: TStyle.h:189
TStyle::DistancetoPrimitive
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Function used by the TStyle manager when drawing a canvas showing the current style.
Definition: TStyle.cxx:658
TStyle::SetHistLineStyle
void SetHistLineStyle(Style_t styl=0)
Definition: TStyle.h:365
TStyle::GetFrameFillStyle
Style_t GetFrameFillStyle() const
Definition: TStyle.h:218
TStyle::fHistLineWidth
Width_t fHistLineWidth
Histogram line width.
Definition: TStyle.h:80
TStyle::SetTitleSize
void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
Definition: TStyle.cxx:1770
TStyle::ToggleToolBar
void ToggleToolBar()
Definition: TStyle.h:402
TStyle::SetLabelOffset
void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Set offset between axis and axis labels.
Definition: TStyle.cxx:1380
TStyle::fErrorX
Float_t fErrorX
Per cent of bin width for errors along X.
Definition: TStyle.h:56
TAttText.h
TStyle::fStripDecimals
Bool_t fStripDecimals
Strip decimals in axis labels.
Definition: TStyle.h:116
TStyle::GetLegendFont
Style_t GetLegendFont() const
Definition: TStyle.h:196
TStyle::ToggleEditor
void ToggleEditor()
Definition: TStyle.h:401
TStyle::GetHistFillColor
Color_t GetHistFillColor() const
Definition: TStyle.h:223
TStyle::SetFrameFillStyle
void SetFrameFillStyle(Style_t styl=0)
Definition: TStyle.h:357
TStyle::SetFuncWidth
void SetFuncWidth(Width_t width=4)
Definition: TStyle.h:351
TStyle::fXaxis
TAttAxis fXaxis
X axis attributes.
Definition: TStyle.h:32
TStyle::GetLineScalePS
Float_t GetLineScalePS() const
Definition: TStyle.h:280
TNamed.h
TStyle::fDateX
Float_t fDateX
X position of the date in the canvas (in NDC)
Definition: TStyle.h:53
TStyle::GetStatColor
Color_t GetStatColor() const
Definition: TStyle.h:248
colors
Color * colors
Definition: X3DBuffer.c:21
TStyle::fBarOffset
Float_t fBarOffset
Offset of bar for graphs.
Definition: TStyle.h:36
TStyle::fLegendFont
Style_t fLegendFont
Legend font style.
Definition: TStyle.h:65
TStyle::GetTitleFontSize
Float_t GetTitleFontSize() const
Definition: TStyle.h:265
TStyle::fPadRightMargin
Float_t fPadRightMargin
Pad right margin.
Definition: TStyle.h:97
TStyle::SetColorModelPS
void SetColorModelPS(Int_t c=0)
Define the color model used by TPostScript and TPDF (RGB or CMYK).
Definition: TStyle.cxx:1226
TStyle::SetBarWidth
void SetBarWidth(Float_t barwidth=0.5)
Definition: TStyle.h:320
TStyle::fPadGridX
Bool_t fPadGridX
True to get the grid along X.
Definition: TStyle.h:98
TStyle::GetCanvasDefH
Int_t GetCanvasDefH() const
Definition: TStyle.h:183
TStyle::fPadTickY
Int_t fPadTickY
True to set special pad ticks along Y.
Definition: TStyle.h:101
TStyle::GetLabelColor
Color_t GetLabelColor(Option_t *axis="X") const
Return the label color number in the axis.
Definition: TStyle.cxx:1066
TAttAxis.h
TStyle::fFuncColor
Color_t fFuncColor
Function color.
Definition: TStyle.h:57
kBird
@ kBird
Definition: TColor.h:109
TStyle::GetNumberOfColors
Int_t GetNumberOfColors() const
Return number of colors in the color palette.
Definition: TStyle.cxx:1124
TAttMarker.h
TStyle::fPadColor
Color_t fPadColor
Pad color.
Definition: TStyle.h:91
Float_t
float Float_t
Definition: RtypesCore.h:57
width
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
TStyle::GetOptFit
Int_t GetOptFit() const
Definition: TStyle.h:235
TStyle::EPaperSize
EPaperSize
Definition: TStyle.h:142
TStyle::GetFrameBorderMode
Int_t GetFrameBorderMode() const
Definition: TStyle.h:222
TStyle::fFuncWidth
Width_t fFuncWidth
Function line width.
Definition: TStyle.h:59
TGeant4Unit::s
static constexpr double s
Definition: TGeant4SystemOfUnits.h:168
TStyle::fLineScalePS
Float_t fLineScalePS
Line scale factor when drawing lines on Postscript.
Definition: TStyle.h:134
TStyle::fPaperSizeX
Float_t fPaperSizeX
PostScript paper size along X.
Definition: TStyle.h:102
TStyle::SetCanvasBorderSize
void SetCanvasBorderSize(Width_t size=1)
Definition: TStyle.h:328
Int_t
int Int_t
Definition: RtypesCore.h:45
TStyle::SetTitleXSize
void SetTitleXSize(Float_t size=0.02)
Definition: TStyle.h:393
TStyle::SetStatColor
void SetStatColor(Color_t color=19)
Definition: TStyle.h:373
TStyle::SetStatFontSize
void SetStatFontSize(Float_t size=0)
Definition: TStyle.h:378
TStyle::fOptLogz
Int_t fOptLogz
True if log scale in z.
Definition: TStyle.h:41
TStyle::GetTitleSize
Float_t GetTitleSize(Option_t *axis="X") const
Return title size.
Definition: TStyle.cxx:1190
TStyle::fOptTitle
Int_t fOptTitle
True if option Title is selected.
Definition: TStyle.h:44
TStyle::fOptFile
Int_t fOptFile
True if option File is selected.
Definition: TStyle.h:45
TStyle::Browse
virtual void Browse(TBrowser *b)
Browse the style object.
Definition: TStyle.cxx:502
TStyle::fStatTextColor
Color_t fStatTextColor
Stat text color.
Definition: TStyle.h:106
TStyle::SetEndErrorSize
void SetEndErrorSize(Float_t np=2)
Set the size (in pixels) of the small lines drawn at the end of the error bars (TH1 or TGraphErrors).
Definition: TStyle.cxx:1291
TStyle::GetPadTopMargin
Float_t GetPadTopMargin() const
Definition: TStyle.h:203
TStyle::GetTitleColor
Color_t GetTitleColor(Option_t *axis="X") const
Return title color.
Definition: TStyle.cxx:1154
TStyle::fHistFillColor
Color_t fHistFillColor
Histogram fill color.
Definition: TStyle.h:76
TStyle::fFitFormat
TString fFitFormat
Printing format for fit parameters.
Definition: TStyle.h:132
TStyle::fFrameLineStyle
Style_t fFrameLineStyle
Pad frame line style.
Definition: TStyle.h:72
x
Double_t x[n]
Definition: legend1.C:17
TStyle::SetTitleFillColor
void SetTitleFillColor(Color_t color=1)
Definition: TStyle.h:387
TStyle::fFrameBorderMode
Int_t fFrameBorderMode
Pad frame border mode.
Definition: TStyle.h:75
TStyle::SetPaperSize
void SetPaperSize(EPaperSize size)
Set paper size for PostScript output.
Definition: TStyle.cxx:1657
TStyle::SetHeaderPS
void SetHeaderPS(const char *header)
Define a string to be inserted in the Postscript header.
Definition: TStyle.cxx:1313
TStyle::fFuncStyle
Style_t fFuncStyle
Function style.
Definition: TStyle.h:58
TStyle::fStatFontSize
Float_t fStatFontSize
Font size in pixels for fonts with precision type 3.
Definition: TStyle.h:109
TStyle::fJoinLinePS
Int_t fJoinLinePS
Determines the appearance of joining lines on PostScript, PDF and SVG.
Definition: TStyle.h:135
TStyle::fHistFillStyle
Style_t fHistFillStyle
Histogram fill style.
Definition: TStyle.h:78
TStyle::SetDrawBorder
void SetDrawBorder(Int_t drawborder=1)
Definition: TStyle.h:326
TColor.h
TStyle::fTitleW
Float_t fTitleW
Width of title box.
Definition: TStyle.h:126
TStyle::GetStatFontSize
Float_t GetStatFontSize() const
Definition: TStyle.h:252
TStyle::SetTitleXOffset
void SetTitleXOffset(Float_t offset=1)
Definition: TStyle.h:392
TStyle::GetLegoInnerR
Float_t GetLegoInnerR() const
Definition: TStyle.h:231
TStyle::SetLegendFont
void SetLegendFont(Style_t font=62)
Definition: TStyle.h:336
TStyle::fGridStyle
Style_t fGridStyle
Grid line style.
Definition: TStyle.h:61
TStyle::GetFrameBorderSize
Width_t GetFrameBorderSize() const
Definition: TStyle.h:221
TStyle::SetGridStyle
void SetGridStyle(Style_t style=3)
Definition: TStyle.h:352
TStyle::Reset
virtual void Reset(Option_t *option="")
Reset.
Definition: TStyle.cxx:667
TStyle::SaveSource
void SaveSource(const char *filename, Option_t *option=0)
Save the current style in a C++ macro file.
Definition: TStyle.cxx:1824
TStyle::SetPadTickY
void SetPadTickY(Int_t ticky)
Definition: TStyle.h:348
TStyle::GetBarOffset
Float_t GetBarOffset() const
Definition: TStyle.h:174
TStyle::SetPadBorderMode
void SetPadBorderMode(Int_t mode=1)
Definition: TStyle.h:340
TString
Definition: TString.h:136
TStyle::fYaxis
TAttAxis fYaxis
Y axis attributes.
Definition: TStyle.h:33
TStyle::SetStatStyle
void SetStatStyle(Style_t style=1001)
Definition: TStyle.h:375
TStyle::SetStatFont
void SetStatFont(Style_t font=62)
Definition: TStyle.h:377
TStyle::fHatchesLineWidth
Int_t fHatchesLineWidth
Hatches line width for hatch styles > 3100.
Definition: TStyle.h:67
TStyle::SetOptLogx
void SetOptLogx(Int_t logx=1)
Definition: TStyle.h:313
TStyle::GetImageScaling
Float_t GetImageScaling() const
Definition: TStyle.h:230
TStyle::GetShowToolBar
Int_t GetShowToolBar() const
Definition: TStyle.h:245
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
TStyle::fTitleX
Float_t fTitleX
X position of top left corner of title box.
Definition: TStyle.h:124
TStyle::SetFitFormat
void SetFitFormat(const char *format="5.4g")
Definition: TStyle.h:287
Color_t
short Color_t
Definition: RtypesCore.h:83
TStyle::fShowToolBar
Int_t fShowToolBar
Show toolbar.
Definition: TStyle.h:49
TStyle::GetDateY
Float_t GetDateY() const
Definition: TStyle.h:190
text
TText * text
Definition: entrylist_figure1.C:10
TStyle::GetStatY
Float_t GetStatY() const
Definition: TStyle.h:256
TStyle::GetPadTickY
Int_t GetPadTickY() const
Definition: TStyle.h:209
TStyle::fPadBorderSize
Width_t fPadBorderSize
Pad border size.
Definition: TStyle.h:92
TStyle::GetLineStyleString
const char * GetLineStyleString(Int_t i=1) const
Return line style string (used by PostScript).
Definition: TStyle.cxx:1115
b
#define b(i)
Definition: RSha256.hxx:118
TStyle::SetErrorX
void SetErrorX(Float_t errorx=0.5)
Definition: TStyle.h:324
TStyle::fCanvasDefX
Int_t fCanvasDefX
Default canvas top X position.
Definition: TStyle.h:89
TStyle::fImageScaling
Float_t fImageScaling
Image scaling to produce high definition bitmap images.
Definition: TStyle.h:139
TStyle::SetPadGridY
void SetPadGridY(Bool_t gridy)
Definition: TStyle.h:346
TStyle::GetStatH
Float_t GetStatH() const
Definition: TStyle.h:258
bool
TStyle::fStatY
Float_t fStatY
Y position of top right corner of stat box.
Definition: TStyle.h:113
TStyle::SetOptFit
void SetOptFit(Int_t fit=1)
The type of information about fit parameters printed in the histogram statistics box can be selected ...
Definition: TStyle.cxx:1544
TStyle::GetTitleStyle
Style_t GetTitleStyle() const
Definition: TStyle.h:264
TStyle::SetStatFormat
void SetStatFormat(const char *format="6.4g")
Definition: TStyle.h:379
TStyle::GetFrameLineWidth
Width_t GetFrameLineWidth() const
Definition: TStyle.h:220
TStyle::SetHistFillStyle
void SetHistFillStyle(Style_t styl=0)
Definition: TStyle.h:364
TStyle::GetLabelOffset
Float_t GetLabelOffset(Option_t *axis="X") const
Return label offset.
Definition: TStyle.cxx:1090
TStyle::fDateY
Float_t fDateY
Y position of the date in the canvas (in NDC)
Definition: TStyle.h:54
TStyle::GetLegendBorderSize
Width_t GetLegendBorderSize() const
Definition: TStyle.h:194
TStyle::GetOptFile
Int_t GetOptFile() const
Definition: TStyle.h:234
TStyle::GetCanvasPreferGL
Bool_t GetCanvasPreferGL() const
Definition: TStyle.h:179
TStyle::GetCanvasColor
Color_t GetCanvasColor() const
Definition: TStyle.h:180
TStyle::fHatchesSpacing
Double_t fHatchesSpacing
Hatches spacing for hatch styles > 3100.
Definition: TStyle.h:68
TStyle::GetFuncStyle
Style_t GetFuncStyle() const
Definition: TStyle.h:211
TStyle::SetImageScaling
void SetImageScaling(Float_t s)
Definition: TStyle.h:370
TAttLine.h
TStyle::SetHistTopMargin
void SetHistTopMargin(Double_t hmax=0.05)
Definition: TStyle.h:368
TStyle::fTimeOffset
Double_t fTimeOffset
Time offset to the beginning of an axis.
Definition: TStyle.h:137
style
TCanvas * style()
Definition: style.C:1
TStyle::GetStripDecimals
Int_t GetStripDecimals() const
Definition: TStyle.h:259
TStyle::GetStatTextColor
Color_t GetStatTextColor() const
Definition: TStyle.h:249
TStyle::GetNdivisions
Int_t GetNdivisions(Option_t *axis="X") const
Return number of divisions.
Definition: TStyle.cxx:1034
TStyle::fShowEventStatus
Int_t fShowEventStatus
Show event status panel.
Definition: TStyle.h:47
TStyle::fFrameFillStyle
Style_t fFrameFillStyle
Pad frame fill style.
Definition: TStyle.h:71
TStyle::fTitleFont
Style_t fTitleFont
Font style of Title PaveLabel.
Definition: TStyle.h:121
TStyle::fStatX
Float_t fStatX
X position of top right corner of stat box.
Definition: TStyle.h:112
TStyle::fLegoInnerR
Float_t fLegoInnerR
Inner radius for cylindrical legos.
Definition: TStyle.h:128
TStyle::GetCanvasDefX
Int_t GetCanvasDefX() const
Definition: TStyle.h:185
TStyle::fOptLogx
Int_t fOptLogx
True if log scale in X.
Definition: TStyle.h:39
TStyle::GetScreenFactor
Float_t GetScreenFactor() const
Definition: TStyle.h:247
TStyle::SetCanvasDefX
void SetCanvasDefX(Int_t topx=10)
Definition: TStyle.h:332
TStyle::fTitleY
Float_t fTitleY
Y position of top left corner of title box.
Definition: TStyle.h:125
TStyle::GetStatFormat
const char * GetStatFormat() const
Definition: TStyle.h:254
TStyle::GetCanvasDefY
Int_t GetCanvasDefY() const
Definition: TStyle.h:186
Option_t
const typedef char Option_t
Definition: RtypesCore.h:66
TStyle::GetGridWidth
Width_t GetGridWidth() const
Definition: TStyle.h:215
TStyle::GetFrameFillColor
Color_t GetFrameFillColor() const
Definition: TStyle.h:216
TStyle::GetTitleBorderSize
Width_t GetTitleBorderSize() const
Definition: TStyle.h:266
TAttFill.h
TStyle::GetTitleAlign
Int_t GetTitleAlign()
Definition: TStyle.h:261
TAttLine
Definition: TAttLine.h:18
TStyle::GetFrameLineStyle
Style_t GetFrameLineStyle() const
Definition: TStyle.h:219
TStyle::fFrameLineWidth
Width_t fFrameLineWidth
Pad frame line width.
Definition: TStyle.h:73
gStyle
R__EXTERN TStyle * gStyle
Definition: TStyle.h:412
TStyle::SetCanvasDefW
void SetCanvasDefW(Int_t w=700)
Definition: TStyle.h:331
TStyle::SetStripDecimals
void SetStripDecimals(Bool_t strip=kTRUE)
Set option to strip decimals when drawing axis labels.
Definition: TStyle.cxx:1816
TStyle::SetPadBorderSize
void SetPadBorderSize(Width_t size=1)
Definition: TStyle.h:339
TStyle::GetHatchesLineWidth
Int_t GetHatchesLineWidth() const
Definition: TStyle.h:192
TStyle::SetHatchesLineWidth
void SetHatchesLineWidth(Int_t l)
Definition: TStyle.h:289
TStyle::fHistMinimumZero
Bool_t fHistMinimumZero
True if default minimum is 0, false if minimum is automatic.
Definition: TStyle.h:81
TStyle::GetTitleFillColor
Color_t GetTitleFillColor() const
Definition: TStyle.h:262
TStyle::SetTitleFontSize
void SetTitleFontSize(Float_t size=0)
Definition: TStyle.h:390
TStyle::GetOptTitle
Int_t GetOptTitle() const
Definition: TStyle.h:237
h
#define h(i)
Definition: RSha256.hxx:124
TStyle::fTitlePS
TString fTitlePS
User defined Postscript file title.
Definition: TStyle.h:131
TStyle::GetPadColor
Color_t GetPadColor() const
Definition: TStyle.h:199
TStyle::SetHistFillColor
void SetHistFillColor(Color_t color=1)
Definition: TStyle.h:362
TStyle::GetPadTickX
Int_t GetPadTickX() const
Definition: TStyle.h:208
TStyle::fStatW
Float_t fStatW
Width of stat box.
Definition: TStyle.h:114
TStyle::fEndErrorSize
Float_t fEndErrorSize
Size of lines at the end of error bars.
Definition: TStyle.h:55
TStyle::SetTitleX
void SetTitleX(Float_t x=0)
Definition: TStyle.h:396
TStyle::fCanvasDefY
Int_t fCanvasDefY
Default canvas top Y position.
Definition: TStyle.h:90
TStyle::fStatFont
Style_t fStatFont
Font style of Stats PaveLabel.
Definition: TStyle.h:108
TStyle::GetDrawBorder
Int_t GetDrawBorder() const
Definition: TStyle.h:176
a
auto * a
Definition: textangle.C:12
TStyle::AxisChoice
Int_t AxisChoice(Option_t *axis) const
Definition: TStyle.h:149
TNamed
Definition: TNamed.h:29
TStyle::SetLabelFont
void SetLabelFont(Style_t font=62, Option_t *axis="X")
Set font number used to draw axis labels.
Definition: TStyle.cxx:1364
TStyle::SetLineScalePS
void SetLineScalePS(Float_t scale=3)
Definition: TStyle.h:294
Width_t
short Width_t
Definition: RtypesCore.h:82
TStyle::GetShowEventStatus
Int_t GetShowEventStatus() const
Definition: TStyle.h:243
TStyle::BuildStyles
static void BuildStyles()
Create some standard styles.
Definition: TStyle.cxx:510
TStyle::GetShowEditor
Int_t GetShowEditor() const
Definition: TStyle.h:244
TStyle::fPadLeftMargin
Float_t fPadLeftMargin
Pad left margin.
Definition: TStyle.h:96
TStyle::fFrameBorderSize
Width_t fFrameBorderSize
Pad frame border size.
Definition: TStyle.h:74
TStyle::fOptStat
Int_t fOptStat
True if option Stat is selected.
Definition: TStyle.h:43
TStyle::SetTitleY
void SetTitleY(Float_t y=0.985)
Definition: TStyle.h:397
TStyle::GetHistFillStyle
Style_t GetHistFillStyle() const
Definition: TStyle.h:225
TStyle::GetTimeOffset
Double_t GetTimeOffset() const
Definition: TStyle.h:260
TStyle::fTitleH
Float_t fTitleH
Height of title box.
Definition: TStyle.h:127
TStyle::fShowEditor
Int_t fShowEditor
Show pad editor.
Definition: TStyle.h:48
TStyle::fFrameFillColor
Color_t fFrameFillColor
Pad frame fill color.
Definition: TStyle.h:69
TStyle::GetTitleTextColor
Color_t GetTitleTextColor() const
Definition: TStyle.h:263
TStyle::fCapLinePS
Int_t fCapLinePS
Determines the appearance of line caps on PostScript, PDF and SVG.
Definition: TStyle.h:136
TStyle::operator=
TStyle & operator=(const TStyle &style)
Definition: TStyle.cxx:493
TStyle::fLineStyle
TString fLineStyle[30]
String describing line style i (for postScript)
Definition: TStyle.h:129
TAttMarker
Definition: TAttMarker.h:19
TStyle::GetOptDate
Int_t GetOptDate() const
Definition: TStyle.h:233
TStyle::SetTitleYOffset
void SetTitleYOffset(Float_t offset=1)
Definition: TStyle.h:394
TArrayI.h
TStyle::fPadTopMargin
Float_t fPadTopMargin
Pad top margin.
Definition: TStyle.h:95
TStyle::GetColorPalette
Int_t GetColorPalette(Int_t i) const
Return color number i in current palette.
Definition: TStyle.cxx:1058
TStyle::SetFrameBorderMode
void SetFrameBorderMode(Int_t mode=1)
Definition: TStyle.h:361
TStyle::SetDateY
void SetDateY(Float_t y=0.01)
Definition: TStyle.h:322
TStyle
Definition: TStyle.h:29
TStyle::kUSLetter
@ kUSLetter
Definition: TStyle.h:142
TStyle::GetNumberContours
Int_t GetNumberContours() const
Definition: TStyle.h:232
y
Double_t y[n]
Definition: legend1.C:17
TStyle::SetHistLineWidth
void SetHistLineWidth(Width_t width=1)
Definition: TStyle.h:366
TStyle::SetPadGridX
void SetPadGridX(Bool_t gridx)
Definition: TStyle.h:345
TStyle::SetStatH
void SetStatH(Float_t h=0.1)
Definition: TStyle.h:383
TStyle::GetStatX
Float_t GetStatX() const
Definition: TStyle.h:255
TStyle::SetPadTopMargin
void SetPadTopMargin(Float_t margin=0.1)
Definition: TStyle.h:342
TStyle::fPadBorderMode
Int_t fPadBorderMode
Pad border mode.
Definition: TStyle.h:93
TStyle::SetTitleTextColor
void SetTitleTextColor(Color_t color=1)
Definition: TStyle.h:388
TStyle::kA4
@ kA4
Definition: TStyle.h:142
TStyle::SetPadLeftMargin
void SetPadLeftMargin(Float_t margin=0.1)
Definition: TStyle.h:343
TStyle::GetPadLeftMargin
Float_t GetPadLeftMargin() const
Definition: TStyle.h:204
TStyle::SetGridColor
void SetGridColor(Color_t color=0)
Definition: TStyle.h:353
TStyle::GetPadGridY
Bool_t GetPadGridY() const
Definition: TStyle.h:207
TStyle::GetBarWidth
Float_t GetBarWidth() const
Definition: TStyle.h:175
TStyle::IsReading
Bool_t IsReading() const
Definition: TStyle.h:282
TGeant4Unit::rad
static constexpr double rad
Definition: TGeant4SystemOfUnits.h:148
TStyle::SetFrameLineWidth
void SetFrameLineWidth(Width_t width=1)
Definition: TStyle.h:359
TStyle::SetOptStat
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
Definition: TStyle.cxx:1592
TStyle::SetOptTitle
void SetOptTitle(Int_t tit=1)
Definition: TStyle.h:318
TStyle::GetTitleYOffset
Float_t GetTitleYOffset() const
Definition: TStyle.h:269
TStyle::fHistLineStyle
Style_t fHistLineStyle
Histogram line style.
Definition: TStyle.h:79
TStyle::GetGridStyle
Style_t GetGridStyle() const
Definition: TStyle.h:214
TStyle::SetOptFile
void SetOptFile(Int_t file=1)
Definition: TStyle.h:311
TStyle::SetTimeOffset
void SetTimeOffset(Double_t toffset)
Change the time offset for time plotting.
Definition: TStyle.cxx:1803
TStyle::SetFuncStyle
void SetFuncStyle(Style_t style=1)
Definition: TStyle.h:349
TStyle::GetAxisColor
Color_t GetAxisColor(Option_t *axis="X") const
Return the axis color number in the axis.
Definition: TStyle.cxx:1046
TStyle::fAttDate
TAttText fAttDate
Canvas date attribute.
Definition: TStyle.h:52
TStyle::GetTitleH
Float_t GetTitleH() const
Definition: TStyle.h:274
TStyle::GetErrorX
Float_t GetErrorX() const
Definition: TStyle.h:178
TStyle::SetFrameLineColor
void SetFrameLineColor(Color_t color=1)
Definition: TStyle.h:356
TStyle::SetTitleW
void SetTitleW(Float_t w=0)
Definition: TStyle.h:398
TStyle::SetPadRightMargin
void SetPadRightMargin(Float_t margin=0.1)
Definition: TStyle.h:344
TStyle::fPaperSizeY
Float_t fPaperSizeY
PostScript paper size along Y.
Definition: TStyle.h:103
TStyle::SetHistLineColor
void SetHistLineColor(Color_t color=1)
Definition: TStyle.h:363
TStyle::SetStatY
void SetStatY(Float_t y=0)
Definition: TStyle.h:381
TStyle::GetPadRightMargin
Float_t GetPadRightMargin() const
Definition: TStyle.h:205
TStyle::GetHistMinimumZero
Bool_t GetHistMinimumZero() const
Definition: TStyle.h:228
TStyle::fTitleBorderSize
Width_t fTitleBorderSize
Border size of Title PavelLabel.
Definition: TStyle.h:120
TStyle::SetCanvasColor
void SetCanvasColor(Color_t color=19)
Definition: TStyle.h:327
TStyle::GetHatchesSpacing
Double_t GetHatchesSpacing() const
Definition: TStyle.h:193
Double_t
double Double_t
Definition: RtypesCore.h:59
TStyle::SetCanvasBorderMode
void SetCanvasBorderMode(Int_t mode=1)
Definition: TStyle.h:329
TStyle::fFrameLineColor
Color_t fFrameLineColor
Pad frame line color.
Definition: TStyle.h:70
TStyle::fPadTickX
Int_t fPadTickX
True to set special pad ticks along X.
Definition: TStyle.h:100
TStyle::fBarWidth
Float_t fBarWidth
Width of bar for graphs.
Definition: TStyle.h:35
TStyle::SetPalette
void SetPalette(Int_t ncolors=kBird, Int_t *colors=0, Float_t alpha=1.)
See TColor::SetPalette.
Definition: TStyle.cxx:1785
TStyle::GetAttDate
TAttText * GetAttDate()
Definition: TStyle.h:162
TStyle::fCanvasPreferGL
Bool_t fCanvasPreferGL
If true, rendering in canvas is with GL.
Definition: TStyle.h:83
TStyle::SetTitleAlign
void SetTitleAlign(Int_t a=13)
Definition: TStyle.h:386
TStyle::GetTitleXOffset
Float_t GetTitleXOffset() const
Definition: TStyle.h:267
TStyle::SetLegendBorderSize
void SetLegendBorderSize(Width_t size=4)
Definition: TStyle.h:334
TStyle::SetLegendFillColor
void SetLegendFillColor(Color_t color=0)
Definition: TStyle.h:335
TStyle::SetFrameLineStyle
void SetFrameLineStyle(Style_t styl=0)
Definition: TStyle.h:358
TStyle::SetStatX
void SetStatX(Float_t x=0)
Definition: TStyle.h:380
TStyle::GetLegendTextSize
Double_t GetLegendTextSize() const
Definition: TStyle.h:197
TStyle::GetCanvasBorderSize
Width_t GetCanvasBorderSize() const
Definition: TStyle.h:181
file
Definition: file.py:1
TStyle::SetFrameBorderSize
void SetFrameBorderSize(Width_t size=1)
Definition: TStyle.h:360
TStyle::fScreenFactor
Float_t fScreenFactor
Multiplication factor for canvas size and position.
Definition: TStyle.h:104
UChar_t
unsigned char UChar_t
Definition: RtypesCore.h:38
TStyle::fNumberContours
Int_t fNumberContours
Default number of contours for 2-d plots.
Definition: TStyle.h:51
TStyle::GetOptLogz
Int_t GetOptLogz() const
Definition: TStyle.h:240
TStyle::SetBarOffset
void SetBarOffset(Float_t baroff=0.5)
Definition: TStyle.h:319
TObject
Definition: TObject.h:37
TStyle::SetOptLogz
void SetOptLogz(Int_t logz=1)
Definition: TStyle.h:315
TStyle::GetTitleXSize
Float_t GetTitleXSize() const
Definition: TStyle.h:268
TStyle::Paint
virtual void Paint(Option_t *option="")
Show the options from the current style.
Definition: TStyle.cxx:1202
TStyle::fPadBottomMargin
Float_t fPadBottomMargin
Pad bottom margin.
Definition: TStyle.h:94
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TStyle::fCanvasDefW
Int_t fCanvasDefW
Default canvas width.
Definition: TStyle.h:88
TStyle::GetCanvasDefW
Int_t GetCanvasDefW() const
Definition: TStyle.h:184
TStyle::SetTitleH
void SetTitleH(Float_t h=0)
Definition: TStyle.h:399
TStyle::GetOptLogx
Int_t GetOptLogx() const
Definition: TStyle.h:238
TStyle::SetFuncColor
void SetFuncColor(Color_t color=1)
Definition: TStyle.h:350
TStyle::GetLabelFont
Style_t GetLabelFont(Option_t *axis="X") const
Return label font.
Definition: TStyle.cxx:1078
TStyle::GetFuncWidth
Width_t GetFuncWidth() const
Definition: TStyle.h:212
TStyle::SetTitleBorderSize
void SetTitleBorderSize(Width_t size=2)
Definition: TStyle.h:391
TAttAxis
Definition: TAttAxis.h:18
TStyle::GetHeaderPS
const char * GetHeaderPS() const
Definition: TStyle.h:275
TStyle::SetDateX
void SetDateX(Float_t x=0.01)
Definition: TStyle.h:321
name
char name[80]
Definition: TGX11.cxx:110
TStyle::GetGridColor
Color_t GetGridColor() const
Definition: TStyle.h:213
TStyle::GetTitleFont
Style_t GetTitleFont(Option_t *axis="X") const
Return title font.
Definition: TStyle.cxx:1166
TStyle::fPaintTextFormat
TString fPaintTextFormat
Printing format for TH2::PaintText.
Definition: TStyle.h:133
TStyle::fCanvasDefH
Int_t fCanvasDefH
Default canvas height.
Definition: TStyle.h:87
TStyle::fLegendFillColor
Color_t fLegendFillColor
Legend fill color.
Definition: TStyle.h:64
TStyle::GetPadGridX
Bool_t GetPadGridX() const
Definition: TStyle.h:206
TStyle::SetLegendTextSize
void SetLegendTextSize(Double_t size=0.)
Definition: TStyle.h:337
TStyle::GetColorModelPS
Int_t GetColorModelPS() const
Definition: TStyle.h:188
TStyle::SetCanvasDefH
void SetCanvasDefH(Int_t h=500)
Definition: TStyle.h:330
R__EXTERN
#define R__EXTERN
Definition: DllImport.h:27
TStyle::fOptFit
Int_t fOptFit
True if option Fit is selected.
Definition: TStyle.h:46
TStyle::fStatStyle
Style_t fStatStyle
Fill area style of Stats PaveLabel.
Definition: TStyle.h:110
TStyle::SetFrameFillColor
void SetFrameFillColor(Color_t color=1)
Definition: TStyle.h:355
TStyle::fOptLogy
Int_t fOptLogy
True if log scale in y.
Definition: TStyle.h:40
TStyle::GetHistLineWidth
Width_t GetHistLineWidth() const
Definition: TStyle.h:227
TStyle::GetLabelSize
Float_t GetLabelSize(Option_t *axis="X") const
Return label size.
Definition: TStyle.cxx:1102
TStyle::SetNdivisions
void SetNdivisions(Int_t n=510, Option_t *axis="X")
Set the number of divisions to draw an axis.
Definition: TStyle.cxx:1260
TStyle::GetOptStat
Int_t GetOptStat() const
Definition: TStyle.h:236
TStyle::fStatBorderSize
Width_t fStatBorderSize
Border size of Stats PaveLabel.
Definition: TStyle.h:107
TStyle::fDrawBorder
Int_t fDrawBorder
Flag to draw border(=1) or not (0)
Definition: TStyle.h:38
TAttFill
Definition: TAttFill.h:19
TStyle::SetPadTickX
void SetPadTickX(Int_t tickx)
Definition: TStyle.h:347
TStyle::GetStatStyle
Style_t GetStatStyle() const
Definition: TStyle.h:253
TStyle::GetHistLineColor
Color_t GetHistLineColor() const
Definition: TStyle.h:224
TStyle::cd
virtual void cd()
Change current style.
Definition: TStyle.cxx:528
TStyle::fLegendBorderSize
Width_t fLegendBorderSize
Legend box border size.
Definition: TStyle.h:63
TStyle::GetTitleW
Float_t GetTitleW() const
Definition: TStyle.h:273
TStyle::SetNumberContours
void SetNumberContours(Int_t number=20)
Set the default number of contour levels when drawing 2-d plots.
Definition: TStyle.cxx:1451
TStyle::GetTitleX
Float_t GetTitleX() const
Definition: TStyle.h:271
TStyle::SetTitleColor
void SetTitleColor(Color_t color=1, Option_t *axis="X")
Definition: TStyle.cxx:1707
TStyle::fOptDate
Int_t fOptDate
True if date option is selected.
Definition: TStyle.h:42
TStyle::fColorModelPS
Int_t fColorModelPS
PostScript color model: 0 = RGB, 1 = CMYK.
Definition: TStyle.h:37
TStyle::fZaxis
TAttAxis fZaxis
Z axis attributes.
Definition: TStyle.h:34
TStyle::fPadGridY
Bool_t fPadGridY
True to get the grid along Y.
Definition: TStyle.h:99
TStyle::SetTitleOffset
void SetTitleOffset(Float_t offset=1, Option_t *axis="X")
Specify a parameter offset to control the distance between the axis and the axis title.
Definition: TStyle.cxx:1751
TStyle::GetStatBorderSize
Width_t GetStatBorderSize() const
Definition: TStyle.h:250
TStyle::GetPadBorderSize
Width_t GetPadBorderSize() const
Definition: TStyle.h:200
TStyle::fStatH
Float_t fStatH
Height of stat box.
Definition: TStyle.h:115
TStyle::fTitleTextColor
Color_t fTitleTextColor
Title text color.
Definition: TStyle.h:119
TStyle::fLegendTextSize
Double_t fLegendTextSize
Legend text size. If 0 the size is computed automatically.
Definition: TStyle.h:66
TStyle::GetLegendFillColor
Color_t GetLegendFillColor() const
Definition: TStyle.h:195
TStyle::GetPaperSize
void GetPaperSize(Float_t &xsize, Float_t &ysize) const
Set paper size for PostScript output.
Definition: TStyle.cxx:1133
TStyle::fCanvasBorderMode
Int_t fCanvasBorderMode
Canvas border mode.
Definition: TStyle.h:86
TStyle::fGridWidth
Width_t fGridWidth
Grid line width.
Definition: TStyle.h:62
TStyle::GetHistLineStyle
Style_t GetHistLineStyle() const
Definition: TStyle.h:226
TStyle::TStyle
TStyle()
Default constructor.
Definition: TStyle.cxx:145
TStyle::SetAxisColor
void SetAxisColor(Color_t color=1, Option_t *axis="X")
Set color to draw the axis line and tick marks.
Definition: TStyle.cxx:1274
TStyle::GetStatFont
Style_t GetStatFont() const
Definition: TStyle.h:251
TStyle::GetHistTopMargin
Double_t GetHistTopMargin() const
Definition: TStyle.h:229
TStyle::SetCanvasDefY
void SetCanvasDefY(Int_t topy=10)
Definition: TStyle.h:333
TStyle::fTitleAlign
Int_t fTitleAlign
Title box alignment.
Definition: TStyle.h:117
TStyle::SetLegoInnerR
void SetLegoInnerR(Float_t rad=0.5)
Definition: TStyle.h:302
TStyle::fTitleStyle
Style_t fTitleStyle
Fill area style of title PaveLabel.
Definition: TStyle.h:123
int
TStyle::fStatColor
Color_t fStatColor
Stat fill area color.
Definition: TStyle.h:105
TStyle::fTitleFontSize
Float_t fTitleFontSize
Font size in pixels for fonts with precision type 3.
Definition: TStyle.h:122
TStyle::SetOptDate
void SetOptDate(Int_t datefl=1)
If optdate is non null, the current date/time will be printed in the canvas.
Definition: TStyle.cxx:1497
TStyle::fGridColor
Color_t fGridColor
Grid line color (if 0 use axis line color)
Definition: TStyle.h:60
TStyle::SetIsReading
void SetIsReading(Bool_t reading=kTRUE)
Sets the fIsReading member to reading (default=kTRUE).
Definition: TStyle.cxx:1325
TStyle::GetPadBottomMargin
Float_t GetPadBottomMargin() const
Definition: TStyle.h:202
TStyle::ToggleEventStatus
void ToggleEventStatus()
Definition: TStyle.h:400