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);
This class implements writing meshes using GNUplot, designed for use only with 1D meshes.
void set_png_output(bool png_output)
Write output to a .png file using gnuplot.
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...
std::string axes_limits
GNUplot automatically adjusts the x and y-axes of 2D plots to "zoom in" on the data.
void use_grid(bool grid)
Turn grid on or off.
void set_title(std::string title)
Set title of plot.
PlottingProperties
Define enumerations to set plotting properties on construction.
virtual void write(const std::string &) override
Write the mesh to the specified file.
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...
This is the MeshBase class.
This class defines an abstract interface for Mesh output.
The libMesh namespace provides an interface to certain functionality in the library.