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

The class used to specify histogram style options. More...

#include <HistogramStyleSpecs.hpp>

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

Public Member Functions

 HistogramStyleSpecs ()
 Construct a default HistogramStyleSpecs instance.
 
auto clustered () -> HistogramStyleSpecs &
 Set the histogram style to be clustered.
 
auto clusteredWithGap (double value) -> HistogramStyleSpecs &
 Set the histogram style to be clustered with a given gap size.
 
auto rowStacked () -> HistogramStyleSpecs &
 Set the histogram style to be stacked with groups formed using data along rows.
 
auto columnStacked () -> HistogramStyleSpecs &
 Set the histogram style to be stacked with groups formed using data along columns.
 
auto errorBars () -> HistogramStyleSpecs &
 Set the histogram style to be with error bars.
 
auto errorBarsWithGap (double value) -> HistogramStyleSpecs &
 Set the histogram style to be with error bars and also set its gap size.
 
auto errorBarsWithLineWidth (double value) -> HistogramStyleSpecs &
 Set the histogram style to be with error bars and also set its line width.
 
auto repr () const -> std::string
 Convert this HistogramStyleSpecs object into a gnuplot formatted string.
 
- Public Member Functions inherited from Specs< HistogramStyleSpecs >
virtual ~Specs ()=default
 Pure virtual destructor (this class is an abstract base class).
 
virtual auto repr () const -> std::string=0
 Return a string representation of this object of some class that derives from specs.
 
 operator std::string () const
 Return a string representation of this object of some class that derives from specs.
 
auto derived () -> HistogramStyleSpecs &
 Return a reference to the specs object of class derived from this.
 
auto derived () const -> const HistogramStyleSpecs &
 Return a const reference to the specs object of class derived from this.
 

Detailed Description

The class used to specify histogram style options.


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