num::gnuplot¶
Defined in header <plot/gnuplot.hpp>
class gnuplot;
Pipe to a gnuplot process, for sending commands.
Members¶
| member | description |
|---|---|
explicit gnuplot(const std::string &args = "") |
Start gnuplot with args. |
gnuplot &operator<<(const std::string &command) { fputs(command.c_str(), pipe_); return *this; } |
Send a command. |
void send1d(const series &data) |
Send a block of two-column data. |
void flush() |
Flush the commands sent so far. |