Gnuplot script.
More...
#include <roboptim/core/visualization/gnuplot.hh>
|
| Gnuplot (bool with_header=true) |
| Default constructor can not be called directly. More...
|
|
Gnuplot script.
This class gathers Gnuplot commands to build a complete Gnuplot script. Gnuplot commands can be inserted through this object through the <<
operator and this object can be put into an output stream using the <<
operator.
- Examples
- visualization-gnuplot-function.cc, and visualization-gnuplot-simple.cc.
◆ ~Gnuplot()
roboptim::visualization::Gnuplot::~Gnuplot |
( |
| ) |
|
◆ Gnuplot()
roboptim::visualization::Gnuplot::Gnuplot |
( |
bool |
with_header = true | ) |
|
|
explicitprotected |
Default constructor can not be called directly.
Use of the named constructor (see static methods) to instantiate this class.
References push_command().
◆ clear()
void roboptim::visualization::Gnuplot::clear |
( |
| ) |
|
◆ make_gnuplot()
static Gnuplot roboptim::visualization::Gnuplot::make_gnuplot |
( |
bool |
with_header = true | ) |
|
|
inlinestatic |
Instanciate a Gnuplot without setting a term.
- Parameters
-
with_header | whether to print the header or not |
- Returns
- Gnuplot instance
◆ make_interactive_gnuplot()
static Gnuplot roboptim::visualization::Gnuplot::make_interactive_gnuplot |
( |
bool |
with_header = true | ) |
|
|
inlinestatic |
Instanciate a Gnuplot suitable for interactive use.
This initializes a persistent Gnuplot instance which is suitable for user interaction.
- Parameters
-
with_header | whether to print the header or not |
- Returns
- Gnuplot instance
References push_command().
◆ operator<<()
◆ print()
std::ostream & roboptim::visualization::Gnuplot::print |
( |
std::ostream & |
o | ) |
const |
◆ push_command()