![]() |
RobWorkProject
23.9.11-
|
Interface for generation of plot images. More...
#include <Plot.hpp>
Inherited by MathGLPlot.
Public Types | |
| typedef rw::core::Ptr< Plot > | Ptr |
| Smart pointer type. | |
Public Member Functions | |
| virtual | ~Plot () |
| 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 rw::core::Ptr< rw::sensor::Image > | render (unsigned int width, unsigned int height)=0 |
| Render the plot as an image. More... | |
Protected Member Functions | |
| Plot () | |
| Constructor. | |
Interface for generation of plot images.
|
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 MathGLPlot.
|
pure virtual |
Render the plot as an image.
| width | [in] desired width. |
| height | [in] desired height. |
Implemented in MathGLPlot.