sciplot  0.3.1
A modern C++ plotting library powered by gnuplot
TitleSpecs Class Reference

The class used to specify title options. More...

#include <TitleSpecsOf.hpp>

Inheritance diagram for TitleSpecs:
[legend]
Collaboration diagram for TitleSpecs:
[legend]

Additional Inherited Members

- Public Member Functions inherited from TitleSpecsOf< TitleSpecs >
 TitleSpecsOf ()
 Construct a default TitleSpecsOf instance.
 
auto title (std::string title) -> TitleSpecs &
 Set the text of the title.
 
auto titleShiftAlongX (double chars) -> TitleSpecs &
 Shift the title element along the x direction by given number of characters (can be fraction).
 
auto titleShiftAlongY (double chars) -> TitleSpecs &
 Shift the title element along the y direction by given number of characters (can be fraction).
 
auto titleShiftAlongGraphX (double val) -> TitleSpecs &
 Shift the title element along the x direction within the graph coordinate system.
 
auto titleShiftAlongGraphY (double val) -> TitleSpecs &
 Shift the title element along the y direction within the graph coordinate system.
 
auto titleShiftAlongScreenX (double val) -> TitleSpecs &
 Shift the title element along the x direction within the screen coordinate system.
 
auto titleShiftAlongScreenY (double val) -> TitleSpecs &
 Shift the title element along the y direction within the screen coordinate system.
 
auto titleTextColor (std::string color) -> TitleSpecs &
 Set the color of the title text (e.g., "blue", "#404040")
 
auto titleFontName (std::string name) -> TitleSpecs &
 Set the font name of the title text (e.g., Helvetica, Georgia, Times).
 
auto titleFontSize (int size) -> TitleSpecs &
 Set the font point size of the title text (e.g., 10, 12, 16).
 
auto repr () const -> std::string
 Convert this TitleSpecsOf object into a gnuplot formatted string.
 
- Public Member Functions inherited from Specs< TitleSpecs >
virtual ~Specs ()=default
 Pure virtual destructor (this class is an abstract base class).
 
 operator std::string () const
 Return a string representation of this object of some class that derives from specs.
 
auto derived () -> TitleSpecs &
 Return a reference to the specs object of class derived from this.
 
auto derived () const -> const TitleSpecs &
 Return a const reference to the specs object of class derived from this.
 

Detailed Description

The class used to specify title options.


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