![]() |
RobWorkProject
23.9.11-
|
GUI Element for showing RobWork plots. More...
#include <PlotView.hpp>
Inherited by ChartView, and PlotSimpleView.
Classes | |
| class | Dispatcher |
| Dispatcher for plots. More... | |
| class | Factory |
| A factory for PlotView::Dispatcher objects. This factory defines an extension point for PointView::Dispatcher (rws.PlotView). Typically this is for plugins that provide widgets capable of showing and interacting with plots. The extensions registered at this extension point must have an extension descriptor with a property called "identifier" giving a unique identifier for that particular type of PlotView. More... | |
Public Types | |
| typedef rw::core::Ptr< PlotView > | Ptr |
| Smart pointer type. | |
Public Member Functions | |
| PlotView () | |
| Constructor. | |
| virtual | ~PlotView () |
| Destructor. | |
| 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="")=0 |
| Do a ListPlot with the given x- and y-values. More... | |
| virtual QGraphicsView * | getWidget (QWidget *parent)=0 |
GUI Element for showing RobWork plots.
|
pure virtual |
Do a ListPlot with the given x- and y-values.
| 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. |
Implemented in ChartView, and PlotSimpleView.