|
| void | lucid::plt::backend (const std::string &name) |
| | Set the backend used by matplotlib.
|
| |
| bool | lucid::plt::annotate (const std::string &text, const double x, const double y) |
| | Annotate the point xy with text.
|
| |
| int | lucid::plt::figure (const int fig_number=-1) |
| | Create a new figure or select an existing figure.
|
| |
| template<class ContainerX, class ContainerY> |
| bool | lucid::plt::plot (const ContainerX &x, const ContainerY &y, const PlotKwargs &kwargs={}) |
| | Plot y versus x as lines and/or markers.
|
| |
| template<class ContainerX, class ContainerY, class ContainerZ> |
| bool | lucid::plt::plot_surface (const ContainerX &x, const ContainerY &y, const ContainerZ &z, const PlotSurfaceKwargs &kwargs={}) |
| | Create a surface plot.
|
| |
| template<class ContainerX, class ContainerY, class ContainerZ> |
| bool | lucid::plt::plot_wireframe (const ContainerX &x, const ContainerY &y, const ContainerZ &z, const PlotWireframeKwargs &kwargs={}) |
| |
| template<class ContainerX, class ContainerY1, class ContainerY2> |
| bool | lucid::plt::fill_between (const ContainerX &x, const ContainerY1 &y1, const ContainerY2 &y2, const FillBetweenKwargs &kwargs={}) |
| | Fill the area between two horizontal curves.
|
| |
| bool | lucid::plt::savefig (const std::string &filename, const SaveKwargs &kwargs={}) |
| | Save the current figure as an image or vector graphic to a file.
|
| |
| bool | lucid::plt::xlim (double left, double right) |
| | Set the x-axis view limits.
|
| |
| bool | lucid::plt::ylim (double bottom, double top) |
| | Set the y-axis view limits.
|
| |
| std::array< double, 2 > | lucid::plt::xlim () |
| | Get the x-axis view limits.
|
| |
| std::array< double, 2 > | lucid::plt::ylim () |
| | Get the y-axis view limits.
|
| |
| void | lucid::plt::show (const bool block=true) |
| | Show the current figure.
|
| |
| template<class ContainerX, class ContainerY> |
| bool | lucid::plt::scatter (const ContainerX &x, const ContainerY &y, const ScatterKwargs &kwargs={}) |
| | A scatter plot of y vs x with varying marker size and/or color.
|
| |
| template<class ContainerX, class ContainerY, class ContainerZ> |
| bool | lucid::plt::scatter (const ContainerX &x, const ContainerY &y, const ContainerZ &z, const ScatterKwargs &kwargs={}) |
| | A scatter plot of y vs x vs z with varying marker size and/or color.
|
| |
- Author
- Room 6.030
-
Benno Evers
- Copyright
- 2014 (https://github.com/lava/matplotlib-cpp)
-
2025 lucid
- Licence:
- BSD 3-Clause License
A C++ wrapper for python's matplotlib. Inspired by Benno Evers' matplotlib-cpp