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