GridSpecsBase.hpp
38 class GridSpecsBase : public LineSpecsOf<GridSpecsBase>, public DepthSpecsOf<GridSpecsBase>, public ShowSpecsOf<GridSpecsBase>
83 ss << ", " + LineSpecsOf<GridSpecsBase>::repr(); // For minor tics, the preceding comma is needed
auto lineWidth(int value) -> GridSpecsBase &
Set the line width of the underlying line object.
Definition: LineSpecsOf.hpp:101
auto repr() const -> std::string
Convert this LineSpecsOf object into a gnuplot formatted string.
Definition: LineSpecsOf.hpp:122
The class used to specify options for grid lines along axis tics (major or minor).
Definition: GridSpecsBase.hpp:39
auto show(bool value=true) -> GridSpecsBase &
Set the visibility status of the plot element.
Definition: ShowSpecsOf.hpp:68
The class used to attach depth options to a type.
Definition: DepthSpecsOf.hpp:36
The class used to attach visibility options to a type.
Definition: ShowSpecsOf.hpp:36
auto lineColor(std::string value) -> GridSpecsBase &
Set the line color of the underlying line object.
Definition: LineSpecsOf.hpp:108
auto lineType(int value) -> GridSpecsBase &
Set the line type of the underlying line object.
Definition: LineSpecsOf.hpp:94
auto repr() const -> std::string
Convert this ShowSpecsOf object into a gnuplot formatted string.
Definition: ShowSpecsOf.hpp:87
auto repr() const -> std::string
Convert this GridSpecsBase object into a gnuplot formatted string.
Definition: GridSpecsBase.hpp:66
auto back() -> GridSpecsBase &
Set the underlying plot element to be displayed on the back of all plot elements.
Definition: DepthSpecsOf.hpp:77
GridSpecsBase(std::string tics="", bool majortics=true)
Construct a default GridSpecsBase instance.
Definition: GridSpecsBase.hpp:55
auto dashType(int value) -> GridSpecsBase &
Set the dash type of the underlying line object.
Definition: LineSpecsOf.hpp:115