#include <stdexcept>#include "roboptim/core/config.hh"#include <boost/format.hpp>#include <boost/xpressive/xpressive.hpp>#include <boost/preprocessor/stringize.hpp>#include <roboptim/core/visualization/matplotlib-commands.hh>Namespaces | |
| namespace | roboptim |
defined(EIGEN_RUNTIME_NO_MALLOC) && !defined(ROBOPTIM_DO_NOT_CHECK_ALLOCATION) | |
| namespace | roboptim::visualization |
Graphical visualization. | |
| namespace | roboptim::visualization::matplotlib |
Matplotlib rendering. | |
Defines | |
| #define | MATPLOTLIB_UNARY_COMMAND(NAME) |
| #define | MATPLOTLIB_UNARY_COMMAND_VAR(VAR, NAME) |
| #define | MATPLOTLIB_UNARY_COMMAND_ARG(NAME, ARG) |
Functions | |
| ROBOPTIM_DLLAPI Import | roboptim::visualization::matplotlib::import (const std::string &packages) |
| Import function that follows the style of commands. | |
| ROBOPTIM_DLLAPI Import | roboptim::visualization::matplotlib::import (const std::string &from, const std::string &packages) |
| Import function that follows the style of commands. | |
| Command | roboptim::visualization::matplotlib::comment (const char *content) |
| Make a matplotlib comment. | |
| Command | roboptim::visualization::matplotlib::set (const char *var, const char *value) |
| Make a matplotlib set command. | |
| #define MATPLOTLIB_UNARY_COMMAND | ( | NAME | ) |
Command \
NAME () \
{ \
return Command ("plt." BOOST_PP_STRINGIZE(NAME) " ()"); \
}
| #define MATPLOTLIB_UNARY_COMMAND_ARG | ( | NAME, | |
| ARG | |||
| ) |
Command \
NAME (const char* ARG) \
{ \
return Command ((boost::format("plt." BOOST_PP_STRINGIZE(NAME) "(\"%1%\")") \
% ARG).str()); \
}
| #define MATPLOTLIB_UNARY_COMMAND_VAR | ( | VAR, | |
| NAME | |||
| ) |
Command \
NAME () \
{ \
return Command (BOOST_PP_STRINGIZE(VAR) " = plt." BOOST_PP_STRINGIZE(NAME) " ()"); \
}