Signalsmith's Basic C++ Plots  1.1.0
A minimal C++ plotting library
Methods | Attributes
signalsmith::plot::Figure Class Reference

Inherits signalsmith::plot::Grid.

Methods

PlotStyle defaultStyle () const override
 
- Methods inherited from signalsmith::plot::Grid
int rows () const
 
int columns () const
 
Gridoperator() (int column, int row)
 
void toFrame (double time, bool clear=true) override
 Creates a frame from the current stat, and optionally clears the state ready for the next frame. More...
 
void loopFrame (double loopTime) override
 Sets loop time (or < 0 to disable) More...
 
void clearFrames () override
 Removes all animation frames. Mostly useful if re-using the diagram for multiple animations. More...
 
- Methods inherited from signalsmith::plot::Cell
Plot2Dplot (double widthPt, double heightPt)
 
Plot2Dplot ()
 
- Methods inherited from signalsmith::plot::SvgFileDrawable
void write (std::ostream &o, const PlotStyle &style)
 
void write (const std::string &svgFile, const PlotStyle &style)
 
void write (std::ostream &o)
 
void write (const std::string &svgFile)
 
ScheduledWrite writeLater (const std::string &svgFile)
 
- Methods inherited from signalsmith::plot::SvgDrawable
 SvgDrawable (const SvgDrawable &other)=delete
 
SvgDrawableoperator= (const SvgDrawable &other)=delete
 
Bounds layoutIfNeeded (const PlotStyle &style)
 
void addChild (SvgDrawable *child, bool front=false)
 Takes ownership of the child. More...
 

Attributes

PlotStyle style
 

Additional Inherited Members

- Protected Member Functions inherited from signalsmith::plot::Grid
void layout (const PlotStyle &style) override
 
void writeData (SvgWriter &svg, const PlotStyle &style) override
 
void writeLabel (SvgWriter &svg, const PlotStyle &style) override
 
- Protected Member Functions inherited from signalsmith::plot::SvgDrawable
void invalidateLayout ()
 
void addLayoutChild (SvgDrawable *child)
 These children are removed when the layout is invalidated. More...
 
- Protected Attributes inherited from signalsmith::plot::SvgDrawable
Bounds bounds