Wrapper class around ROOT TStyle.
More...
#include <JStyle.hh>
|
| JStyle (const char *title, const UInt_t x, const UInt_t y) |
| Constructor. More...
|
|
Wrapper class around ROOT TStyle.
Definition at line 20 of file JStyle.hh.
JROOT::JStyle::JStyle |
( |
const char * |
title, |
|
|
const UInt_t |
x, |
|
|
const UInt_t |
y |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
title | title |
x | number of pixels in X |
y | number of pixels in Y |
Definition at line 31 of file JStyle.hh.
34 const Double_t font_size = (Double_t)
y * 0.8e-4;
37 SetCanvasBorderMode(0);
38 SetCanvasBorderSize(0);
43 SetPadTopMargin (0.10);
44 SetPadBottomMargin(0.15);
45 SetPadLeftMargin (0.15);
46 SetPadRightMargin (0.10);
48 SetTickLength(3.0e-5 * (
x <
y ?
x :
y),
"X");
49 SetTickLength(3.0e-5 * (
x <
y ?
x :
y),
"Y");
50 SetTickLength(3.0e-5 * (
x <
y ?
x :
y),
"Z");
52 SetLabelSize(font_size,
"X");
53 SetLabelSize(font_size,
"Y");
54 SetLabelSize(font_size,
"Z");
55 SetLabelOffset(0.005,
"X");
56 SetLabelOffset(0.005,
"Y");
57 SetLabelOffset(0.005,
"Z");
61 SetTitleOffset(1.5,
"X");
62 SetTitleOffset(1.5,
"Y");
63 SetTitleOffset(1.5,
"Z");
64 SetTitleSize(font_size,
"X");
65 SetTitleSize(font_size,
"Y");
66 SetTitleSize(font_size,
"Z");
70 SetStatFontSize(font_size);
74 SetPaintTextFormat(
"3.0f");
80 SetTitleBorderSize(0);
The documentation for this class was generated from the following file: