Classes | Namespaces | Macros | Typedefs | Functions | Variables
matplotlibcpp.h File Reference
#include <algorithm>
#include <array>
#include <cstdint>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <stdexcept>
#include <vector>
#include <Python.h>
Include dependency graph for matplotlibcpp.h:

Go to the source code of this file.

Classes

struct  matplotlibcpp::detail::_interpreter
 
struct  matplotlibcpp::detail::is_callable_impl< true, T >::Check< U, U >
 
struct  matplotlibcpp::detail::is_callable_impl< true, T >::Derived
 
struct  matplotlibcpp::detail::is_callable_impl< true, T >::Fallback
 
struct  matplotlibcpp::detail::is_callable< T >
 
struct  matplotlibcpp::detail::is_callable_impl< obj, T >
 
struct  matplotlibcpp::detail::is_callable_impl< false, T >
 
struct  matplotlibcpp::detail::is_callable_impl< true, T >
 
class  matplotlibcpp::Plot
 
struct  matplotlibcpp::detail::plot_impl< IsYDataCallable >
 
struct  matplotlibcpp::detail::plot_impl< std::false_type >
 
struct  matplotlibcpp::detail::plot_impl< std::true_type >
 

Namespaces

 matplotlibcpp
 
 matplotlibcpp::detail
 

Macros

#define WITHOUT_NUMPY
 

Typedefs

template<typename T >
using matplotlibcpp::detail::is_function = typename std::is_function< std::remove_pointer< std::remove_reference< T > >>::type
 

Functions

bool matplotlibcpp::annotate (std::string annotation, double x, double y)
 
void matplotlibcpp::axis (const std::string &axisstr)
 
void matplotlibcpp::backend (const std::string &name)
 
template<typename Numeric >
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={})
 
template<typename NumericX >
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)
 
void matplotlibcpp::clf ()
 
void matplotlibcpp::close ()
 
void matplotlibcpp::draw ()
 
template<typename NumericX , typename NumericY >
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={})
 
bool matplotlibcpp::fignum_exists (long number)
 
long matplotlibcpp::figure (long number=-1)
 
void matplotlibcpp::figure_size (size_t w, size_t h)
 
template<typename Numeric >
bool matplotlibcpp::fill (const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::map< std::string, std::string > &keywords)
 
template<typename Numeric >
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)
 
template<typename Numeric >
PyObject * matplotlibcpp::get_array (const std::vector< Numeric > &v)
 
std::vector< std::array< double, 2 > > matplotlibcpp::ginput (const int numClicks=1, const std::map< std::string, std::string > &keywords={})
 
void matplotlibcpp::grid (bool flag)
 
template<typename Numeric >
bool matplotlibcpp::hist (const std::vector< Numeric > &y, long bins=10, std::string color="b", double alpha=1.0, bool cumulative=false)
 
void matplotlibcpp::ion ()
 
void matplotlibcpp::legend ()
 
template<typename NumericX , typename NumericY >
bool matplotlibcpp::loglog (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::string &s="")
 
template<typename Numeric >
bool matplotlibcpp::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 matplotlibcpp::named_loglog (const std::string &name, const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::string &format="")
 
template<typename Numeric >
bool matplotlibcpp::named_plot (const std::string &name, const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::string &format="")
 
template<typename Numeric >
bool matplotlibcpp::named_plot (const std::string &name, const std::vector< Numeric > &y, const std::string &format="")
 
template<typename Numeric >
bool matplotlibcpp::named_semilogx (const std::string &name, const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::string &format="")
 
template<typename Numeric >
bool matplotlibcpp::named_semilogy (const std::string &name, const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::string &format="")
 
template<typename Numeric >
void matplotlibcpp::pause (Numeric interval)
 
template<typename... Args>
bool matplotlibcpp::plot ()
 
template<typename A , typename B , typename... Args>
bool matplotlibcpp::plot (const A &a, const B &b, const std::string &format, Args... args)
 
bool matplotlibcpp::plot (const std::vector< double > &x, const std::vector< double > &y, const std::map< std::string, std::string > &keywords)
 
bool matplotlibcpp::plot (const std::vector< double > &x, const std::vector< double > &y, const std::string &format="")
 
bool matplotlibcpp::plot (const std::vector< double > &y, const std::string &format="")
 
template<typename Numeric >
bool matplotlibcpp::plot (const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::map< std::string, std::string > &keywords)
 
template<typename Numeric >
bool matplotlibcpp::plot (const std::vector< Numeric > &y, const std::map< std::string, std::string > &keywords)
 
template<typename Numeric >
bool matplotlibcpp::plot (const std::vector< Numeric > &y, const std::string &format="")
 
template<typename NumericX , typename NumericY >
bool matplotlibcpp::plot (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::string &s="")
 
template<typename Numeric >
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 >())
 
template<typename NumericX , typename NumericY , typename NumericU , typename NumericW >
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={})
 
void matplotlibcpp::save (const std::string &filename)
 
template<typename NumericX , typename NumericY >
bool matplotlibcpp::scatter (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const double s=1.0)
 
template<typename NumericX , typename NumericY >
bool matplotlibcpp::semilogx (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::string &s="")
 
template<typename NumericX , typename NumericY >
bool matplotlibcpp::semilogy (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::string &s="")
 
void matplotlibcpp::show (const bool block=true)
 
template<typename NumericX , typename NumericY >
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")
 
template<typename Numeric >
bool matplotlibcpp::stem (const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::map< std::string, std::string > &keywords)
 
template<typename Numeric >
bool matplotlibcpp::stem (const std::vector< Numeric > &y, const std::string &format="")
 
template<typename NumericX , typename NumericY >
bool matplotlibcpp::stem (const std::vector< NumericX > &x, const std::vector< NumericY > &y, const std::string &s="")
 
void matplotlibcpp::subplot (long nrows, long ncols, long plot_number)
 
bool matplotlibcpp::subplots_adjust (const std::map< std::string, double > &keywords={})
 
void matplotlibcpp::suptitle (const std::string &suptitlestr, const std::map< std::string, std::string > &keywords={})
 
template<typename Numeric >
void matplotlibcpp::text (Numeric x, Numeric y, const std::string &s="")
 
void matplotlibcpp::tight_layout ()
 
void matplotlibcpp::title (const std::string &titlestr, const std::map< std::string, std::string > &keywords={})
 
void matplotlibcpp::xkcd ()
 
void matplotlibcpp::xlabel (const std::string &str, const std::map< std::string, std::string > &keywords={})
 
double * matplotlibcpp::xlim ()
 
template<typename Numeric >
void matplotlibcpp::xlim (Numeric left, Numeric right)
 
template<typename Numeric >
void matplotlibcpp::xticks (const std::vector< Numeric > &ticks, const std::map< std::string, std::string > &keywords)
 
template<typename Numeric >
void matplotlibcpp::xticks (const std::vector< Numeric > &ticks, const std::vector< std::string > &labels={}, const std::map< std::string, std::string > &keywords={})
 
void matplotlibcpp::ylabel (const std::string &str, const std::map< std::string, std::string > &keywords={})
 
double * matplotlibcpp::ylim ()
 
template<typename Numeric >
void matplotlibcpp::ylim (Numeric left, Numeric right)
 
template<typename Numeric >
void matplotlibcpp::yticks (const std::vector< Numeric > &ticks, const std::map< std::string, std::string > &keywords)
 
template<typename Numeric >
void matplotlibcpp::yticks (const std::vector< Numeric > &ticks, const std::vector< std::string > &labels={}, const std::map< std::string, std::string > &keywords={})
 

Variables

static std::string matplotlibcpp::detail::s_backend
 

Macro Definition Documentation

◆ WITHOUT_NUMPY

#define WITHOUT_NUMPY

Definition at line 15 of file matplotlibcpp.h.



ov_core
Author(s): Patrick Geneva , Kevin Eckenhoff , Guoquan Huang
autogenerated on Mon Dec 16 2024 03:06:46