20 PlotOpt(
const std::string &file_name,
21 const std::string &config_name);
30 PlotOpt & LoadOptions(
const std::string &file_name,
31 const std::string &config_name);
48 PlotOpt & FileExtensions(
const std::set<std::string> &file_extensions);
49 const std::set<std::string> & FileExtensions()
const;
51 PlotOpt & LabelSize(
double label_size);
52 double LabelSize()
const;
54 PlotOpt & TitleSize(
double title_size);
55 double TitleSize()
const;
57 PlotOpt & XTitleOffset(
double x_title_offset);
58 double XTitleOffset()
const;
60 PlotOpt & YTitleOffset(
double y_title_offset);
61 double YTitleOffset()
const;
63 PlotOpt & ZTitleOffset(
double z_title_offset);
64 double ZTitleOffset()
const;
66 PlotOpt & AutoYAxis(
bool auto_y_axis);
67 bool AutoYAxis()
const;
69 PlotOpt & CanvasSize(
int width,
int height);
70 PlotOpt & CanvasWidth(
int width);
71 int CanvasWidth()
const;
72 PlotOpt & CanvasHeight(
int height);
73 int CanvasHeight()
const;
75 PlotOpt & Margin(
double left,
double right,
double bottom,
double top);
76 PlotOpt & LeftMargin(
double left);
77 double LeftMargin()
const;
78 PlotOpt & RightMargin(
double right);
79 double RightMargin()
const;
80 PlotOpt & BottomMargin(
double bottom);
81 double BottomMargin()
const;
82 PlotOpt & TopMargin(
double top);
83 double TopMargin()
const;
85 PlotOpt & BottomHeight(
double bottom_height);
86 double BottomHeight()
const;
88 PlotOpt & LegendColumns(
int columns);
89 int LegendColumns()
const;
90 PlotOpt & LegendEntryHeight(
double height);
91 double LegendEntryHeight()
const;
92 PlotOpt & LegendMaxHeight(
double height);
93 double LegendMaxHeight()
const;
94 PlotOpt & LegendMarkerWidth(
double width);
95 double LegendMarkerWidth()
const;
96 PlotOpt & LegendPad(
double pad);
97 double LegendPad()
const;
98 PlotOpt & LegendDensity(
double density);
99 double LegendDensity()
const;
101 PlotOpt & LogMinimum(
double log_minimum);
102 double LogMinimum()
const;
104 PlotOpt & RatioMinimum(
double ratio_minimum);
105 double RatioMinimum()
const;
106 PlotOpt & RatioMaximum(
double ratio_maximum);
107 double RatioMaximum()
const;
109 PlotOpt & NDivisions(
int n_divisions);
110 int NDivisions()
const;
111 PlotOpt & NDivisionsBottom(
int n_divisions);
112 int NDivisionsBottom()
const;
117 PlotOpt & ShowBackgroundError(
bool show_background_error);
118 bool ShowBackgroundError()
const;
120 PlotOpt & UseCMYK(
bool use_cmyk);
121 bool UseCMYK()
const;
123 PlotOpt & PrintVals(
bool print_vals);
124 bool PrintVals()
const;
126 double TopToGlobalYNDC(
double top_y)
const;
127 double GlobalToTopYNDC(
double global_y)
const;
128 double BottomToGlobalYNDC(
double bottom_y)
const;
129 double GlobalToBottomYNDC(
double global_y)
const;
131 double TrueLegendHeight(std::size_t num_entries)
const;
132 double TrueLegendEntryHeight(std::size_t num_entries)
const;
133 double TrueLegendWidth(std::size_t num_entries)
const;
135 bool BackgroundsStacked()
const;
136 bool DisplayLumiEntry()
const;
138 std::string TypeString()
const;
166 void SetProperty(
const std::string &property_name,
167 const std::string &value_string);
double legend_max_height_
PlotOptTypes::BottomType bottom_type_
PlotOptTypes::StackType stack_type_
std::set< std::string > file_extensions_
PlotOptTypes::YAxisType y_axis_type_
PlotOptTypes::OverflowType overflow_type_
bool show_background_error_
PlotOptTypes::TitleType title_type_