![]() |
- 3.0.2 core module.
|
#include <vector>#include <map>#include <numeric>#include <stdexcept>#include <iostream>#include <initializer_list>#include <Eigen/Dense>#include <Eigen/StdVector>#include "plot-impl.h"Go to the source code of this file.
Namespaces | |
| ct | |
| ct::core | |
| ct::core::plot | |
Functions | |
| bool | ct::core::plot::ion () |
| Enable interactive mode. More... | |
| bool | ct::core::plot::figure (std::string i="") |
| Create a new figure. More... | |
| bool | ct::core::plot::hist (const Eigen::Ref< const Eigen::VectorXd > &x, const double bins=10, const std::string histtype="bar") |
| Histogram. More... | |
| bool | ct::core::plot::boxplot (const Eigen::Ref< const Eigen::MatrixXd > &x, const std::vector< std::string > &labels) |
| Every row of X is the data for a box. More... | |
| bool | ct::core::plot::boxplot (const Eigen::Ref< const Eigen::MatrixXd > &x, std::initializer_list< const std::string > labels) |
| bool | ct::core::plot::boxplot (const Eigen::Ref< const Eigen::MatrixXd > &x) |
| bool | ct::core::plot::subplot (const size_t nrows, const size_t ncols, const size_t plot_number) |
| Create a subplot. More... | |
| bool | ct::core::plot::plot (const Eigen::Ref< const Eigen::MatrixXd > &x, const Eigen::Ref< const Eigen::MatrixXd > &y, const std::map< std::string, std::string > &keywords) |
| Create an x/y plot with properties as map. More... | |
| bool | ct::core::plot::plot (const Eigen::Ref< const Eigen::MatrixXd > &x, const Eigen::Ref< const Eigen::MatrixXd > &y, const std::string &s="") |
| Create an x/y plot with properties in string. More... | |
| bool | ct::core::plot::labelPlot (const std::string &name, const Eigen::Ref< const Eigen::MatrixXd > &x, const Eigen::Ref< const Eigen::MatrixXd > &y, const std::string &format="") |
| Create an x/y plot with name as label. More... | |
| bool | ct::core::plot::labelPlot (const std::string &name, const Eigen::Ref< const Eigen::MatrixXd > &y, const std::string &format="") |
| bool | ct::core::plot::plot (const Eigen::Ref< const Eigen::MatrixXd > &x, const std::string &format="") |
| void | ct::core::plot::warn () |
std::vector wrappers. | |
| template<typename ALLOC > | |
| bool | ct::core::plot::plot (const std::vector< double, ALLOC > &y, const std::string &format="") |
| template<typename ALLOC , typename ALLOC2 > | |
| bool | ct::core::plot::plot (const std::vector< double, ALLOC > &x, const std::vector< double, ALLOC2 > &y, const std::map< std::string, std::string > &keywords) |
| bool | ct::core::plot::plot (const std::vector< double > &x, const Eigen::Ref< const Eigen::MatrixXd > &y, const std::map< std::string, std::string > &keywords) |
| template<typename ALLOC , typename ALLOC2 > | |
| bool | ct::core::plot::plot (const std::vector< double, ALLOC > &x, const std::vector< double, ALLOC2 > &y, const std::string &s="") |
| bool | ct::core::plot::plot (const std::vector< double > &x, const Eigen::Ref< const Eigen::MatrixXd > &y, const std::string &s="") |
| bool | ct::core::plot::labelPlot (const std::string &name, const std::vector< double > &x, const std::vector< double > &y, const std::string &format="") |
| bool | ct::core::plot::labelPlot (const std::string &name, const std::vector< double > &x, const Eigen::Ref< const Eigen::MatrixXd > &y, const std::string &format="") |
Plot settings. | |
| void | ct::core::plot::legend () |
| void | ct::core::plot::ylim (double min, double max) |
| void | ct::core::plot::xlim (double xmin, double xmax) |
| void | ct::core::plot::title (const std::string &titlestr) |
| void | ct::core::plot::axis (const std::string &axisstr) |
| void | ct::core::plot::xlabel (const std::string &str) |
| void | ct::core::plot::ylabel (const std::string &str) |
| void | ct::core::plot::grid (bool flag) |
| void | ct::core::plot::show (bool block=true) |
| void | ct::core::plot::save (const std::string &filename) |