gnuplotd

A simplistic binding for gnuplot manipulation via pipes. See http://ndevilla.free.fr/gnuplot/ for original, however not official C-bindings. Based on 2.11 version. However, ignoring all windows features.

Members

Functions

finish
auto finish(GnuPlotCtrl gpc)

finalizer for gnuplot control object. returns the underlying stream

plotEquation
void plotEquation(GnuPlotCtrl gpc, string equation, string title)

equation plotting for gnuplot controller structure

plotOnce
void plotOnce(string title, string style, string label_x, string label_y, RangeX x, RangeY y)

a common interface for a single plotting event for gnuplot controller structure

plotSlope
void plotSlope(GnuPlotCtrl gpc, double a, double b, string title)

slope plotting for gnuplot controller structure

plotX
void plotX(GnuPlotCtrl gpc, Range darr, string title)

x plotting for gnuplot controller structure

plotXY
void plotXY(GnuPlotCtrl gpc, RangeX xarr, RangeY yarr, string title)

xy plotting for gnuplot controller structure

put
void put(GnuPlotCtrl gpc, string cmd, Args args)

general put function for the gnuplot controller structure

resetPlot
void resetPlot(GnuPlotCtrl gpc)

recreation (reusing) of gnuplot controller structure

setStyle
void setStyle(GnuPlotCtrl gpc, string plot_style)

style setting for the gnuplot controller structure.

setXlabel
void setXlabel(GnuPlotCtrl gpc, string label)

x label setting for gnuplot controller structure

setYlabel
void setYlabel(GnuPlotCtrl gpc, string label)

y label setting for gnuplot controller structure

start
auto start()

@brief Opens up a gnuplot session, ready to receive commands. @return Newly created gnuplot control structure.

writeMultiCsv
int writeMultiCsv(string fileName, RoR xListPtr, string title)

csv dumping for gnuplot controller structure (many columns)

writeXYcsv
int writeXYcsv(string fileName, RangeX xarr, RangeY yarr, string title)

csv dumping for gnuplot controller structure (xy vars)

writeXcsv
int writeXcsv(string fileName, Range darr, string title)

csv dumping for gnuplot controller structure (x var only)

Manifest constants

GP_MAX_TMP_FILES
enum GP_MAX_TMP_FILES;

@brief gnuplot session handle (opaque type).

Meta