wxPlot 1.8 Real time plot library for wxWidgets

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Plots Class Reference

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

`#include <plots.hpp>`

## Public Member Functions
PlotTypes & | getPlotTypes ()
| Return the reference of plot types object.
PlotFigure & | getPlotFigures ()
| 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

  data1D | 1D data in form of 1D vector.

## ◆ setData() [2/2]

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

Set 2D data.

Parameters

  data2D | 2D 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

  wxPlotFigure | Selection of plot figure.
  wxPlotType | Selection of plot type.

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

- C:/Users/danie/Documents/GitHub/wxPlot/wxPlot/src/plots/plots.hpp
- C:/Users/danie/Documents/GitHub/wxPlot/wxPlot/src/plots/plots.cpp