20 #ifndef LIBMESH_GNUPLOT_IO_H 21 #define LIBMESH_GNUPLOT_IO_H 24 #include "libmesh/mesh_output.h" 61 const std::string & = std::string(
"FE 1D Solution"),
67 virtual void write(
const std::string &)
override;
80 const std::vector<Number> &,
81 const std::vector<std::string> &)
override;
116 const std::vector<Number> * =
nullptr,
117 const std::vector<std::string> * =
nullptr);
128 #endif // LIBMESH_GNUPLOT_IO_H
void use_grid(bool grid)
Turn grid on or off.
PlottingProperties
Define enumerations to set plotting properties on construction.
This class defines an abstract interface for Mesh output.
The libMesh namespace provides an interface to certain functionality in the library.
virtual void write(const std::string &) override
Write the mesh to the specified file.
This is the MeshBase class.
virtual void write_nodal_data(const std::string &, const std::vector< Number > &, const std::vector< std::string > &) override
This method implements writing a mesh with nodal data to a specified file where the nodal data and va...
This class implements writing meshes using GNUplot, designed for use only with 1D meshes...
std::string axes_limits
GNUplot automatically adjusts the x and y-axes of 2D plots to "zoom in" on the data.
void write_solution(const std::string &, const std::vector< Number > *=nullptr, const std::vector< std::string > *=nullptr)
This method implements writing a mesh with nodal data to a specified file where the nodal data and va...
GnuPlotIO(const MeshBase &, const std::string &=std::string("FE 1D Solution"), int properties=0)
Constructor.
void set_title(std::string title)
Set title of plot.
void set_png_output(bool png_output)
Write output to a .png file using gnuplot.