Rev 38 | Rev 47 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 38 | Rev 40 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | //########################################################################################## |
1 | //########################################################################################## |
- | 2 | #include "TGaxis.h" |
|
- | 3 | ||
2 | void RTSetStyle(TStyle *style) |
4 | void RTSetStyle(TStyle *style) |
3 | { |
5 | { |
4 | style->SetStatBorderSize(1); |
6 | style->SetStatBorderSize(1); |
5 | style->SetFrameBorderMode(0); |
7 | style->SetFrameBorderMode(0); |
6 | style->SetCanvasBorderMode(0); |
8 | style->SetCanvasBorderMode(0); |
Line 12... | Line 14... | ||
12 | style->SetPalette(1, 0); |
14 | style->SetPalette(1, 0); |
13 | 15 | ||
14 | style->SetMarkerStyle(kFullDotLarge); |
16 | style->SetMarkerStyle(kFullDotLarge); |
15 | //style->SetMarkerSize(7); |
17 | //style->SetMarkerSize(7); |
16 | 18 | ||
- | 19 | style->SetOptStat("e"); |
|
- | 20 | style->SetOptFit(1); |
|
17 | 21 | ||
18 | style->SetPadTopMargin(0. |
22 | style->SetPadTopMargin(0.12); |
19 | style->SetPadBottomMargin(0. |
23 | style->SetPadBottomMargin(0.12); |
20 | style->SetPadLeftMargin(0. |
24 | style->SetPadLeftMargin(0.12); |
21 | style->SetPadRightMargin(0. |
25 | style->SetPadRightMargin(0.12); |
22 | 26 | ||
23 | style->SetTitleOffset(1.3, "y"); |
27 | style->SetTitleOffset(1.3, "y"); |
24 |
|
28 | style->SetPalette(1, 0); |
- | 29 | ||
- | 30 | style->SetPaperSize(TStyle::kA4); |
|
25 | 31 | ||
26 |
|
32 | TGaxis::SetMaxDigits(4); |
27 | } |
33 | } |
28 | //########################################################################################## |
34 | //########################################################################################## |
29 | RTCanvas::RTCanvas() |
35 | RTCanvas::RTCanvas() |
30 | { |
36 | { |
31 | RTCanvas((char*)"can", (char*)" ", 0, 0, 640, 480); |
37 | RTCanvas((char*)"can", (char*)" ", 0, 0, 640, 480); |