NAGASH 0.9.8
Next Generation Analysis System
|
Class for control the style of the FigureTool, you can define your own FigureStyleHelper by inheriting this class. More...
#include "NAGASH/FigureTool.h"
Public Member Functions | |
FigureStyleHelper (std::shared_ptr< MSGTool > MSG) | |
virtual | ~FigureStyleHelper () |
std::shared_ptr< MSGTool > | MSGUser () |
virtual void | SetFunc1DStyle (FigureFunc1D *func) |
virtual void | SetGraph1DStyle (FigureGraph1D *graph) |
virtual void | SetHist1DGraphStyle (FigureHist1D *hist) |
virtual void | SetHist1DStyle (FigureHist1D *hist) |
virtual void | SetHist2DStyle (FigureHist2D *hist) |
virtual void | SetLatexStyle (FigureLatex *latex) |
virtual void | SetPadStyle (FigurePad *pad) |
Public Attributes | |
double | COLZ_MARGIN_PERCENT = 0.05 |
The margin size for the z axis for 2D histogram COLZ draw option. | |
int | DIVISION_N1 = 20 |
The number of primary divisions on the axis. | |
int | DIVISION_N2 = 5 |
The number of secondary divisions on the axis. | |
int | DIVISION_N3 = 0 |
The number of tertiary divisions on the axis. | |
double | LeftPercentage = 0.07 |
Control the left space to automatically place the legend. | |
double | LEGEND_TEXT_SIZE_PERCENT = 0.055 |
The size of the legend text as well as other text in the pad. | |
int | NCOLORDIV |
double | RIGHT_BLANK_MARGIN_PERCENT = 0.05 |
The margin size on the right. | |
int | TEXT_FONT = 4 |
The font for the text. | |
double | TEXT_SIZE_PERCENT = 0.035 |
The size of the text on the axis. | |
double | TICK_LENGTH_PERCENT = 0.03 |
The length of the tick on the axis. | |
double | TITLE_MARGIN_PERCENT = 0.15 |
The margin size for the title(left and bottom). | |
double | TOP_BLANK_MARGIN_PERCENT = 0.05 |
The margin size on the top. | |
Private Attributes | |
int | colorstart |
std::shared_ptr< MSGTool > | msg |
Class for control the style of the FigureTool, you can define your own FigureStyleHelper by inheriting this class.
Definition at line 34 of file FigureTool.h.
FigureStyleHelper::FigureStyleHelper | ( | std::shared_ptr< MSGTool > | MSG | ) |
Definition at line 243 of file FigureTool.cxx.
|
virtual |
Definition at line 742 of file FigureTool.cxx.
|
inline |
Definition at line 73 of file FigureTool.h.
|
virtual |
Definition at line 706 of file FigureTool.cxx.
|
virtual |
Definition at line 656 of file FigureTool.cxx.
|
virtual |
Definition at line 681 of file FigureTool.cxx.
|
virtual |
Definition at line 614 of file FigureTool.cxx.
|
virtual |
Definition at line 722 of file FigureTool.cxx.
|
virtual |
Definition at line 736 of file FigureTool.cxx.
|
virtual |
Definition at line 278 of file FigureTool.cxx.
|
private |
Definition at line 70 of file FigureTool.h.
double NAGASH::FigureStyleHelper::COLZ_MARGIN_PERCENT = 0.05 |
The margin size for the z axis for 2D histogram COLZ draw option.
Definition at line 49 of file FigureTool.h.
int NAGASH::FigureStyleHelper::DIVISION_N1 = 20 |
The number of primary divisions on the axis.
Definition at line 59 of file FigureTool.h.
int NAGASH::FigureStyleHelper::DIVISION_N2 = 5 |
The number of secondary divisions on the axis.
Definition at line 60 of file FigureTool.h.
int NAGASH::FigureStyleHelper::DIVISION_N3 = 0 |
The number of tertiary divisions on the axis.
Definition at line 61 of file FigureTool.h.
double NAGASH::FigureStyleHelper::LeftPercentage = 0.07 |
Control the left space to automatically place the legend.
Definition at line 65 of file FigureTool.h.
double NAGASH::FigureStyleHelper::LEGEND_TEXT_SIZE_PERCENT = 0.055 |
The size of the legend text as well as other text in the pad.
Definition at line 55 of file FigureTool.h.
|
private |
Definition at line 68 of file FigureTool.h.
int NAGASH::FigureStyleHelper::NCOLORDIV |
Definition at line 63 of file FigureTool.h.
double NAGASH::FigureStyleHelper::RIGHT_BLANK_MARGIN_PERCENT = 0.05 |
The margin size on the right.
Definition at line 51 of file FigureTool.h.
int NAGASH::FigureStyleHelper::TEXT_FONT = 4 |
The font for the text.
Definition at line 57 of file FigureTool.h.
double NAGASH::FigureStyleHelper::TEXT_SIZE_PERCENT = 0.035 |
The size of the text on the axis.
Definition at line 54 of file FigureTool.h.
double NAGASH::FigureStyleHelper::TICK_LENGTH_PERCENT = 0.03 |
The length of the tick on the axis.
Definition at line 53 of file FigureTool.h.
double NAGASH::FigureStyleHelper::TITLE_MARGIN_PERCENT = 0.15 |
The margin size for the title(left and bottom).
Definition at line 48 of file FigureTool.h.
double NAGASH::FigureStyleHelper::TOP_BLANK_MARGIN_PERCENT = 0.05 |
The margin size on the top.
Definition at line 50 of file FigureTool.h.