NAGASH 0.9.8
Next Generation Analysis System
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Attributes | List of all members
NAGASH::FigureStyleHelper Class Reference

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< MSGToolMSGUser ()
 
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< MSGToolmsg
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FigureStyleHelper()

FigureStyleHelper::FigureStyleHelper ( std::shared_ptr< MSGTool MSG)

Definition at line 243 of file FigureTool.cxx.

◆ ~FigureStyleHelper()

FigureStyleHelper::~FigureStyleHelper ( )
virtual

Definition at line 742 of file FigureTool.cxx.

Member Function Documentation

◆ MSGUser()

std::shared_ptr< MSGTool > NAGASH::FigureStyleHelper::MSGUser ( )
inline

Definition at line 73 of file FigureTool.h.

◆ SetFunc1DStyle()

void FigureStyleHelper::SetFunc1DStyle ( FigureFunc1D func)
virtual

Definition at line 706 of file FigureTool.cxx.

◆ SetGraph1DStyle()

void FigureStyleHelper::SetGraph1DStyle ( FigureGraph1D graph)
virtual

Definition at line 656 of file FigureTool.cxx.

◆ SetHist1DGraphStyle()

void FigureStyleHelper::SetHist1DGraphStyle ( FigureHist1D hist)
virtual

Definition at line 681 of file FigureTool.cxx.

◆ SetHist1DStyle()

void FigureStyleHelper::SetHist1DStyle ( FigureHist1D hist)
virtual

Definition at line 614 of file FigureTool.cxx.

◆ SetHist2DStyle()

void FigureStyleHelper::SetHist2DStyle ( FigureHist2D hist)
virtual

Definition at line 722 of file FigureTool.cxx.

◆ SetLatexStyle()

void FigureStyleHelper::SetLatexStyle ( FigureLatex latex)
virtual

Definition at line 736 of file FigureTool.cxx.

◆ SetPadStyle()

void FigureStyleHelper::SetPadStyle ( FigurePad pad)
virtual

Definition at line 278 of file FigureTool.cxx.

Member Data Documentation

◆ colorstart

int NAGASH::FigureStyleHelper::colorstart
private

Definition at line 70 of file FigureTool.h.

◆ COLZ_MARGIN_PERCENT

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.

◆ DIVISION_N1

int NAGASH::FigureStyleHelper::DIVISION_N1 = 20

The number of primary divisions on the axis.

Definition at line 59 of file FigureTool.h.

◆ DIVISION_N2

int NAGASH::FigureStyleHelper::DIVISION_N2 = 5

The number of secondary divisions on the axis.

Definition at line 60 of file FigureTool.h.

◆ DIVISION_N3

int NAGASH::FigureStyleHelper::DIVISION_N3 = 0

The number of tertiary divisions on the axis.

Definition at line 61 of file FigureTool.h.

◆ LeftPercentage

double NAGASH::FigureStyleHelper::LeftPercentage = 0.07

Control the left space to automatically place the legend.

Definition at line 65 of file FigureTool.h.

◆ LEGEND_TEXT_SIZE_PERCENT

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.

◆ msg

std::shared_ptr<MSGTool> NAGASH::FigureStyleHelper::msg
private

Definition at line 68 of file FigureTool.h.

◆ NCOLORDIV

int NAGASH::FigureStyleHelper::NCOLORDIV

Definition at line 63 of file FigureTool.h.

◆ RIGHT_BLANK_MARGIN_PERCENT

double NAGASH::FigureStyleHelper::RIGHT_BLANK_MARGIN_PERCENT = 0.05

The margin size on the right.

Definition at line 51 of file FigureTool.h.

◆ TEXT_FONT

int NAGASH::FigureStyleHelper::TEXT_FONT = 4

The font for the text.

Definition at line 57 of file FigureTool.h.

◆ TEXT_SIZE_PERCENT

double NAGASH::FigureStyleHelper::TEXT_SIZE_PERCENT = 0.035

The size of the text on the axis.

Definition at line 54 of file FigureTool.h.

◆ TICK_LENGTH_PERCENT

double NAGASH::FigureStyleHelper::TICK_LENGTH_PERCENT = 0.03

The length of the tick on the axis.

Definition at line 53 of file FigureTool.h.

◆ TITLE_MARGIN_PERCENT

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.

◆ TOP_BLANK_MARGIN_PERCENT

double NAGASH::FigureStyleHelper::TOP_BLANK_MARGIN_PERCENT = 0.05

The margin size on the top.

Definition at line 50 of file FigureTool.h.


The documentation for this class was generated from the following files: