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