Public Member Functions | Private Member Functions | Private Attributes | List of all members
matplotlibcpp::Plot Class Reference

#include <matplotlibcpp.h>

Public Member Functions

bool clear ()
 
template<typename Numeric >
 Plot (const std::string &name, const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::string &format="")
 
 Plot (const std::string &name="", const std::string &format="")
 
void remove ()
 
template<typename Numeric >
bool update (const std::vector< Numeric > &x, const std::vector< Numeric > &y)
 
 ~Plot ()
 

Private Member Functions

void decref ()
 

Private Attributes

PyObject * line = nullptr
 
PyObject * set_data_fct = nullptr
 

Detailed Description

Definition at line 1767 of file matplotlibcpp.h.

Constructor & Destructor Documentation

◆ Plot() [1/2]

template<typename Numeric >
matplotlibcpp::Plot::Plot ( const std::string &  name,
const std::vector< Numeric > &  x,
const std::vector< Numeric > &  y,
const std::string &  format = "" 
)
inline

Definition at line 1771 of file matplotlibcpp.h.

◆ Plot() [2/2]

matplotlibcpp::Plot::Plot ( const std::string &  name = "",
const std::string &  format = "" 
)
inline

Definition at line 1807 of file matplotlibcpp.h.

◆ ~Plot()

matplotlibcpp::Plot::~Plot ( )
inline

Definition at line 1842 of file matplotlibcpp.h.

Member Function Documentation

◆ clear()

bool matplotlibcpp::Plot::clear ( )
inline

Definition at line 1828 of file matplotlibcpp.h.

◆ decref()

void matplotlibcpp::Plot::decref ( )
inlineprivate

Definition at line 1845 of file matplotlibcpp.h.

◆ remove()

void matplotlibcpp::Plot::remove ( )
inline

Definition at line 1831 of file matplotlibcpp.h.

◆ update()

template<typename Numeric >
bool matplotlibcpp::Plot::update ( const std::vector< Numeric > &  x,
const std::vector< Numeric > &  y 
)
inline

Definition at line 1809 of file matplotlibcpp.h.

Member Data Documentation

◆ line

PyObject* matplotlibcpp::Plot::line = nullptr
private

Definition at line 1852 of file matplotlibcpp.h.

◆ set_data_fct

PyObject* matplotlibcpp::Plot::set_data_fct = nullptr
private

Definition at line 1853 of file matplotlibcpp.h.


The documentation for this class was generated from the following file:


ov_core
Author(s): Patrick Geneva , Kevin Eckenhoff , Guoquan Huang
autogenerated on Mon Jan 22 2024 03:08:17