Skip to content

num::gnuplot

Defined in header <plot/gnuplot.hpp>

class gnuplot;

Owning pipe for issuing low-level commands directly to gnuplot.

Members

member description
explicit gnuplot(const std::string &args = "") Launch gnuplot with optional command-line arguments.
gnuplot &operator<<(const std::string &command) { fputs(command.c_str(), pipe_); return *this; } Send a raw gnuplot command.
void send1d(const series &data) Send one inline two-column data block and flush it.
void flush() Flush pending commands to gnuplot.