wxPlot 1.8
Real time plot library for wxWidgets
Loading...
Searching...
No Matches
Plots Class Reference

Plot class for wxPlot. This class contains plot types and plot figures. More...

#include <plots.hpp>

Public Member Functions

PlotTypesgetPlotTypes ()
 Return the reference of plot types object.
 
PlotFiguregetPlotFigures ()
 Return the reference of plot figure object.
 
void setWxPlotFigureType (const WXPLOT_FIGURE wxPlotFigure, const WXPLOT_TYPE wxPlotType)
 Set the plot type selection and plot figure selection.
 
void setData (const std::vector< std::vector< double > > &data2D)
 Set 2D data.
 
void setData (const std::vector< double > &data1D)
 Set 1D data.
 

Detailed Description

Plot class for wxPlot. This class contains plot types and plot figures.

Member Function Documentation

◆ getPlotFigures()

PlotFigure & Plots::getPlotFigures ( )

Return the reference of plot figure object.

Returns
PlotFigure&

◆ getPlotTypes()

PlotTypes & Plots::getPlotTypes ( )

Return the reference of plot types object.

Returns
PlotTypes&

◆ setData() [1/2]

void Plots::setData ( const std::vector< double > & data1D)

Set 1D data.

Parameters
data1D1D data in form of 1D vector.

◆ setData() [2/2]

void Plots::setData ( const std::vector< std::vector< double > > & data2D)

Set 2D data.

Parameters
data2D2D data in form of 2D vector.

◆ setWxPlotFigureType()

void Plots::setWxPlotFigureType ( const WXPLOT_FIGURE wxPlotFigure,
const WXPLOT_TYPE wxPlotType )

Set the plot type selection and plot figure selection.

Parameters
wxPlotFigureSelection of plot figure.
wxPlotTypeSelection of plot type.

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