Namespaces | |
detail | |
Classes | |
class | Plot |
Functions | |
bool | annotate (std::string annotation, double x, double y) |
void | axis (const std::string &axisstr) |
void | backend (const std::string &name) |
template<typename Numeric > | |
bool | bar (const std::vector< Numeric > &y, std::string ec="black", std::string ls="-", double lw=1.0, const std::map< std::string, std::string > &keywords={}) |
template<typename NumericX > | |
bool | boxplot (const std::vector< NumericX > &x, const double &position, const double &width, const std::string &color, const std::string &linestyle, const std::map< std::string, std::string > &keywords={}, bool vert=true) |
void | clf () |
void | close () |
void | draw () |
template<typename NumericX , typename NumericY > | |
bool | errorbar (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::vector< NumericX > &yerr, const std::map< std::string, std::string > &keywords={}) |
bool | fignum_exists (long number) |
long | figure (long number=-1) |
void | figure_size (size_t w, size_t h) |
template<typename Numeric > | |
bool | fill (const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::map< std::string, std::string > &keywords) |
template<typename Numeric > | |
bool | fill_between (const std::vector< Numeric > &x, const std::vector< Numeric > &y1, const std::vector< Numeric > &y2, const std::map< std::string, std::string > &keywords) |
template<typename Numeric > | |
PyObject * | get_array (const std::vector< Numeric > &v) |
std::vector< std::array< double, 2 > > | ginput (const int numClicks=1, const std::map< std::string, std::string > &keywords={}) |
void | grid (bool flag) |
template<typename Numeric > | |
bool | hist (const std::vector< Numeric > &y, long bins=10, std::string color="b", double alpha=1.0, bool cumulative=false) |
void | ion () |
void | legend () |
template<typename NumericX , typename NumericY > | |
bool | loglog (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::string &s="") |
template<typename Numeric > | |
bool | named_hist (std::string label, const std::vector< Numeric > &y, long bins=10, std::string color="b", double alpha=1.0) |
template<typename Numeric > | |
bool | named_loglog (const std::string &name, const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::string &format="") |
template<typename Numeric > | |
bool | named_plot (const std::string &name, const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::string &format="") |
template<typename Numeric > | |
bool | named_plot (const std::string &name, const std::vector< Numeric > &y, const std::string &format="") |
template<typename Numeric > | |
bool | named_semilogx (const std::string &name, const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::string &format="") |
template<typename Numeric > | |
bool | named_semilogy (const std::string &name, const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::string &format="") |
template<typename Numeric > | |
void | pause (Numeric interval) |
template<typename... Args> | |
bool | plot () |
template<typename A , typename B , typename... Args> | |
bool | plot (const A &a, const B &b, const std::string &format, Args... args) |
bool | plot (const std::vector< double > &x, const std::vector< double > &y, const std::map< std::string, std::string > &keywords) |
bool | plot (const std::vector< double > &x, const std::vector< double > &y, const std::string &format="") |
bool | plot (const std::vector< double > &y, const std::string &format="") |
template<typename Numeric > | |
bool | plot (const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::map< std::string, std::string > &keywords) |
template<typename Numeric > | |
bool | plot (const std::vector< Numeric > &y, const std::map< std::string, std::string > &keywords) |
template<typename Numeric > | |
bool | plot (const std::vector< Numeric > &y, const std::string &format="") |
template<typename NumericX , typename NumericY > | |
bool | plot (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::string &s="") |
template<typename Numeric > | |
void | plot_surface (const std::vector<::std::vector< Numeric >> &x, const std::vector<::std::vector< Numeric >> &y, const std::vector<::std::vector< Numeric >> &z, const std::map< std::string, std::string > &keywords=std::map< std::string, std::string >()) |
template<typename NumericX , typename NumericY , typename NumericU , typename NumericW > | |
bool | quiver (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::vector< NumericU > &u, const std::vector< NumericW > &w, const std::map< std::string, std::string > &keywords={}) |
void | save (const std::string &filename) |
template<typename NumericX , typename NumericY > | |
bool | scatter (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const double s=1.0) |
template<typename NumericX , typename NumericY > | |
bool | semilogx (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::string &s="") |
template<typename NumericX , typename NumericY > | |
bool | semilogy (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::string &s="") |
void | show (const bool block=true) |
template<typename NumericX , typename NumericY > | |
bool | stackplot (const std::vector< NumericX > &x, const std::vector< std::vector< NumericY >> &ys, const std::vector< std::string > &labels, const std::vector< std::string > &colors, const std::string &baseline="zero") |
template<typename Numeric > | |
bool | stem (const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::map< std::string, std::string > &keywords) |
template<typename Numeric > | |
bool | stem (const std::vector< Numeric > &y, const std::string &format="") |
template<typename NumericX , typename NumericY > | |
bool | stem (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::string &s="") |
void | subplot (long nrows, long ncols, long plot_number) |
bool | subplots_adjust (const std::map< std::string, double > &keywords={}) |
void | suptitle (const std::string &suptitlestr, const std::map< std::string, std::string > &keywords={}) |
template<typename Numeric > | |
void | text (Numeric x, Numeric y, const std::string &s="") |
void | tight_layout () |
void | title (const std::string &titlestr, const std::map< std::string, std::string > &keywords={}) |
void | xkcd () |
void | xlabel (const std::string &str, const std::map< std::string, std::string > &keywords={}) |
double * | xlim () |
template<typename Numeric > | |
void | xlim (Numeric left, Numeric right) |
template<typename Numeric > | |
void | xticks (const std::vector< Numeric > &ticks, const std::map< std::string, std::string > &keywords) |
template<typename Numeric > | |
void | xticks (const std::vector< Numeric > &ticks, const std::vector< std::string > &labels={}, const std::map< std::string, std::string > &keywords={}) |
void | ylabel (const std::string &str, const std::map< std::string, std::string > &keywords={}) |
double * | ylim () |
template<typename Numeric > | |
void | ylim (Numeric left, Numeric right) |
template<typename Numeric > | |
void | yticks (const std::vector< Numeric > &ticks, const std::map< std::string, std::string > &keywords) |
template<typename Numeric > | |
void | yticks (const std::vector< Numeric > &ticks, const std::vector< std::string > &labels={}, const std::map< std::string, std::string > &keywords={}) |
|
inline |
Definition at line 234 of file matplotlibcpp.h.
|
inline |
Definition at line 1451 of file matplotlibcpp.h.
|
inline |
Definition at line 232 of file matplotlibcpp.h.
bool matplotlibcpp::bar | ( | const std::vector< Numeric > & | y, |
std::string | ec = "black" , |
||
std::string | ls = "-" , |
||
double | lw = 1.0 , |
||
const std::map< std::string, std::string > & | keywords = {} |
||
) |
Definition at line 660 of file matplotlibcpp.h.
bool matplotlibcpp::boxplot | ( | const std::vector< NumericX > & | x, |
const double & | position, | ||
const double & | width, | ||
const std::string & | color, | ||
const std::string & | linestyle, | ||
const std::map< std::string, std::string > & | keywords = {} , |
||
bool | vert = true |
||
) |
Definition at line 788 of file matplotlibcpp.h.
|
inline |
Definition at line 1593 of file matplotlibcpp.h.
|
inline |
Definition at line 1534 of file matplotlibcpp.h.
|
inline |
Definition at line 1558 of file matplotlibcpp.h.
bool matplotlibcpp::errorbar | ( | const std::vector< NumericX > & | x, |
const std::vector< NumericY > & | y, | ||
const std::vector< NumericX > & | yerr, | ||
const std::map< std::string, std::string > & | keywords = {} |
||
) |
Definition at line 972 of file matplotlibcpp.h.
|
inline |
Definition at line 1193 of file matplotlibcpp.h.
|
inline |
Definition at line 1163 of file matplotlibcpp.h.
|
inline |
Definition at line 1210 of file matplotlibcpp.h.
bool matplotlibcpp::fill | ( | const std::vector< Numeric > & | x, |
const std::vector< Numeric > & | y, | ||
const std::map< std::string, std::string > & | keywords | ||
) |
Definition at line 476 of file matplotlibcpp.h.
bool matplotlibcpp::fill_between | ( | const std::vector< Numeric > & | x, |
const std::vector< Numeric > & | y1, | ||
const std::vector< Numeric > & | y2, | ||
const std::map< std::string, std::string > & | keywords | ||
) |
Definition at line 506 of file matplotlibcpp.h.
PyObject* matplotlibcpp::get_array | ( | const std::vector< Numeric > & | v | ) |
Definition at line 312 of file matplotlibcpp.h.
|
inline |
Definition at line 1611 of file matplotlibcpp.h.
|
inline |
Definition at line 1502 of file matplotlibcpp.h.
bool matplotlibcpp::hist | ( | const std::vector< Numeric > & | y, |
long | bins = 10 , |
||
std::string | color = "b" , |
||
double | alpha = 1.0 , |
||
bool | cumulative = false |
||
) |
Definition at line 539 of file matplotlibcpp.h.
|
inline |
Definition at line 1602 of file matplotlibcpp.h.
|
inline |
Definition at line 1233 of file matplotlibcpp.h.
bool matplotlibcpp::loglog | ( | const std::vector< NumericX > & | x, |
const std::vector< NumericY > & | y, | ||
const std::string & | s = "" |
||
) |
Definition at line 949 of file matplotlibcpp.h.
bool matplotlibcpp::named_hist | ( | std::string | label, |
const std::vector< Numeric > & | y, | ||
long | bins = 10 , |
||
std::string | color = "b" , |
||
double | alpha = 1.0 |
||
) |
Definition at line 710 of file matplotlibcpp.h.
bool matplotlibcpp::named_loglog | ( | const std::string & | name, |
const std::vector< Numeric > & | x, | ||
const std::vector< Numeric > & | y, | ||
const std::string & | format = "" |
||
) |
Definition at line 1104 of file matplotlibcpp.h.
bool matplotlibcpp::named_plot | ( | const std::string & | name, |
const std::vector< Numeric > & | x, | ||
const std::vector< Numeric > & | y, | ||
const std::string & | format = "" |
||
) |
Definition at line 1029 of file matplotlibcpp.h.
bool matplotlibcpp::named_plot | ( | const std::string & | name, |
const std::vector< Numeric > & | y, | ||
const std::string & | format = "" |
||
) |
Definition at line 1005 of file matplotlibcpp.h.
bool matplotlibcpp::named_semilogx | ( | const std::string & | name, |
const std::vector< Numeric > & | x, | ||
const std::vector< Numeric > & | y, | ||
const std::string & | format = "" |
||
) |
Definition at line 1054 of file matplotlibcpp.h.
bool matplotlibcpp::named_semilogy | ( | const std::string & | name, |
const std::vector< Numeric > & | x, | ||
const std::vector< Numeric > & | y, | ||
const std::string & | format = "" |
||
) |
Definition at line 1079 of file matplotlibcpp.h.
|
inline |
Definition at line 1567 of file matplotlibcpp.h.
bool matplotlibcpp::plot | ( | ) |
Definition at line 1743 of file matplotlibcpp.h.
bool matplotlibcpp::plot | ( | const A & | a, |
const B & | b, | ||
const std::string & | format, | ||
Args... | args | ||
) |
Definition at line 1745 of file matplotlibcpp.h.
|
inline |
Definition at line 1759 of file matplotlibcpp.h.
|
inline |
Definition at line 1753 of file matplotlibcpp.h.
|
inline |
Definition at line 1757 of file matplotlibcpp.h.
bool matplotlibcpp::plot | ( | const std::vector< Numeric > & | x, |
const std::vector< Numeric > & | y, | ||
const std::map< std::string, std::string > & | keywords | ||
) |
Definition at line 323 of file matplotlibcpp.h.
bool matplotlibcpp::plot | ( | const std::vector< Numeric > & | y, |
const std::map< std::string, std::string > & | keywords | ||
) |
Definition at line 1135 of file matplotlibcpp.h.
bool matplotlibcpp::plot | ( | const std::vector< Numeric > & | y, |
const std::string & | format = "" |
||
) |
Definition at line 1128 of file matplotlibcpp.h.
bool matplotlibcpp::plot | ( | const std::vector< NumericX > & | x, |
const std::vector< NumericY > & | y, | ||
const std::string & | s = "" |
||
) |
Definition at line 733 of file matplotlibcpp.h.
void matplotlibcpp::plot_surface | ( | const std::vector<::std::vector< Numeric >> & | x, |
const std::vector<::std::vector< Numeric >> & | y, | ||
const std::vector<::std::vector< Numeric >> & | z, | ||
const std::map< std::string, std::string > & | keywords = std::map<std::string, std::string>() |
||
) |
Definition at line 352 of file matplotlibcpp.h.
bool matplotlibcpp::quiver | ( | const std::vector< NumericX > & | x, |
const std::vector< NumericY > & | y, | ||
const std::vector< NumericU > & | u, | ||
const std::vector< NumericW > & | w, | ||
const std::map< std::string, std::string > & | keywords = {} |
||
) |
Definition at line 756 of file matplotlibcpp.h.
|
inline |
Definition at line 1579 of file matplotlibcpp.h.
bool matplotlibcpp::scatter | ( | const std::vector< NumericX > & | x, |
const std::vector< NumericY > & | y, | ||
const double | s = 1.0 |
||
) |
Definition at line 634 of file matplotlibcpp.h.
bool matplotlibcpp::semilogx | ( | const std::vector< NumericX > & | x, |
const std::vector< NumericY > & | y, | ||
const std::string & | s = "" |
||
) |
Definition at line 903 of file matplotlibcpp.h.
bool matplotlibcpp::semilogy | ( | const std::vector< NumericX > & | x, |
const std::vector< NumericY > & | y, | ||
const std::string & | s = "" |
||
) |
Definition at line 926 of file matplotlibcpp.h.
|
inline |
Definition at line 1517 of file matplotlibcpp.h.
bool matplotlibcpp::stackplot | ( | const std::vector< NumericX > & | x, |
const std::vector< std::vector< NumericY >> & | ys, | ||
const std::vector< std::string > & | labels, | ||
const std::vector< std::string > & | colors, | ||
const std::string & | baseline = "zero" |
||
) |
Definition at line 835 of file matplotlibcpp.h.
bool matplotlibcpp::stem | ( | const std::vector< Numeric > & | x, |
const std::vector< Numeric > & | y, | ||
const std::map< std::string, std::string > & | keywords | ||
) |
Definition at line 447 of file matplotlibcpp.h.
bool matplotlibcpp::stem | ( | const std::vector< Numeric > & | y, |
const std::string & | format = "" |
||
) |
Definition at line 1142 of file matplotlibcpp.h.
bool matplotlibcpp::stem | ( | const std::vector< NumericX > & | x, |
const std::vector< NumericY > & | y, | ||
const std::string & | s = "" |
||
) |
Definition at line 880 of file matplotlibcpp.h.
|
inline |
Definition at line 1398 of file matplotlibcpp.h.
|
inline |
Definition at line 690 of file matplotlibcpp.h.
|
inline |
Definition at line 1432 of file matplotlibcpp.h.
void matplotlibcpp::text | ( | Numeric | x, |
Numeric | y, | ||
const std::string & | s = "" |
||
) |
Definition at line 1149 of file matplotlibcpp.h.
|
inline |
Definition at line 1644 of file matplotlibcpp.h.
|
inline |
Definition at line 1413 of file matplotlibcpp.h.
|
inline |
Definition at line 1544 of file matplotlibcpp.h.
|
inline |
Definition at line 1464 of file matplotlibcpp.h.
|
inline |
Definition at line 1274 of file matplotlibcpp.h.
void matplotlibcpp::xlim | ( | Numeric | left, |
Numeric | right | ||
) |
Definition at line 1258 of file matplotlibcpp.h.
|
inline |
Definition at line 1349 of file matplotlibcpp.h.
|
inline |
Definition at line 1309 of file matplotlibcpp.h.
|
inline |
Definition at line 1483 of file matplotlibcpp.h.
|
inline |
Definition at line 1291 of file matplotlibcpp.h.
void matplotlibcpp::ylim | ( | Numeric | left, |
Numeric | right | ||
) |
Definition at line 1242 of file matplotlibcpp.h.
|
inline |
Definition at line 1394 of file matplotlibcpp.h.
|
inline |
Definition at line 1354 of file matplotlibcpp.h.