RobWorkProject  23.9.11-
Classes | Public Member Functions | List of all members
ChartView Class Reference

Inherits PlotView.

Classes

class  Dispatcher
 Dispatcher for plots. More...
 

Public Member Functions

virtual void listPlot (const std::vector< double > &x, const std::vector< double > &y, const std::string &title="", const std::string &xlabel="", const std::string &ylabel="")
 Do a ListPlot with the given x- and y-values. More...
 
void addPlot (const std::vector< double > &x, const std::vector< double > &y, std::string name)
 
virtual QGraphicsView * getWidget (QWidget *parent)
 
- Public Member Functions inherited from PlotView
 PlotView ()
 Constructor.
 
virtual ~PlotView ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from PlotView
typedef rw::core::Ptr< PlotViewPtr
 Smart pointer type.
 

Member Function Documentation

◆ getWidget()

virtual QGraphicsView* getWidget ( QWidget *  parent)
virtual

Implements PlotView.

◆ listPlot()

virtual void listPlot ( const std::vector< double > &  x,
const std::vector< double > &  y,
const std::string &  title = "",
const std::string &  xlabel = "",
const std::string &  ylabel = "" 
)
virtual

Do a ListPlot with the given x- and y-values.

Parameters
x[in] the x-values.
y[in] the y-values.
title[in] (optional) the plot title.
xlabel[in] (optional) x axis label.
ylabel[in] (optional) y axis label.

Implements PlotView.


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