dolfin/plot¶
Documentation for C++ code found in dolfin/plot/*.h
Functions¶
interactive¶
C++ documentation for interactive from dolfin/plot/plot.h:
-
void
dolfin::interactive(bool really = false)¶ Make the current plots interactive. If really is set, the interactive mode is entered even if ‘Q’ has been pressed.
Parameters: really –
plot¶
C++ documentation for plot from dolfin/plot/plot.h:
-
void
dolfin::plot(const Expression &expression, const Mesh &mesh, const Parameters ¶meters)¶ Plot expression (parameter version)
Parameters: - expression –
- mesh –
- parameters –
C++ documentation for plot from dolfin/plot/plot.h:
-
void
dolfin::plot(const Expression &expression, const Mesh &mesh, std::string title = "", std::string mode = "auto")¶ Plot expression.
Parameters: - expression –
- mesh –
- title –
- mode –
C++ documentation for plot from dolfin/plot/plot.h:
C++ documentation for plot from dolfin/plot/plot.h:
-
void
dolfin::plot(const Variable&, const Parameters ¶meters)¶ Plot variable (parameter version)
Parameters: - var –
- parameters –
C++ documentation for plot from dolfin/plot/plot.h:
-
void
dolfin::plot(const Variable&, std::string title = "", std::string mode = "auto")¶ Simple built-in plot commands for plotting functions and meshes. Plot variable of any supported type
Parameters: - var –
- title –
- mode –
C++ documentation for plot from dolfin/plot/plot.h:
Plot expression (parameter, shared_ptr version)
Parameters: - expression –
- mesh –
- parameters –
C++ documentation for plot from dolfin/plot/plot.h:
Plot expression (shared_ptr version)
Parameters: - expression –
- mesh –
- title –
- mode –
C++ documentation for plot from dolfin/plot/plot.h:
Plot multimesh (shared_ptr version)
Parameters: multimesh –
C++ documentation for plot from dolfin/plot/plot.h:
Plot variable (parameter, shared_ptr version)
Parameters: - var –
- parameters –
C++ documentation for plot from dolfin/plot/plot.h:
Plot variable (shared_ptr version)
Parameters: - var –
- title –
- mode –
Classes¶
ExpressionWrapper¶
C++ documentation for ExpressionWrapper from dolfin/plot/ExpressionWrapper.h:
-
class
dolfin::ExpressionWrapper¶ A light wrapper class to hold an expression to plot, along with the mesh to plot it on. Allows clean, templated plotter code in plot.cpp
Create wrapped expression object.
Parameters: - expression –
- mesh –
-
std::shared_ptr<const Expression>
dolfin::ExpressionWrapper::expression() const¶ Get shared pointer to the expression.