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

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

#include <LayoutSpecs.hpp>

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

Additional Inherited Members

- Public Member Functions inherited from LayoutSpecsOf< LayoutSpecs >
auto origin (double x, double y) -> LayoutSpecs &
 Set the origin of the figure relative to the canvas (0,0 is bottom left and 1,1 is top right).
 
auto size (double sx, double sy) -> LayoutSpecs &
 Set the size factor of the figure relative to the canvas (a value of 1 will fill the entire canvas, < 1 will fill only a part, > 1 will make the figure not fit the canvas).
 
auto marginsAbsolute (double left=-1, double right=-1, double top=-1, double bottom=-1) -> LayoutSpecs &
 Set the absolute margins of the figure to the canvas. A value of -1 will let gnuplot autocalculate the value.
 
auto repr () const -> std::string
 Set the relative margins of the figure to the canvas as a fraction of the canvas. More...
 
- Public Member Functions inherited from Specs< LayoutSpecs >
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 () -> LayoutSpecs &
 Return a reference to the specs object of class derived from this.
 
auto derived () const -> const LayoutSpecs &
 Return a const reference to the specs object of class derived from this.
 

Detailed Description

The class used to specify layout options.


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