Clamps Dictionary
with-gnuplot-instance
Macro
(with-gnuplot-instance (stream &rest args) &body body)
start an external gnuplot process with a data input stream open for the extent of body.
stream is bound to gnuplot's input stream. Printing to it is equivalent to printing into a file read by gnuplot as a dataset with its plot command.
args are arguments sent to #'launch-gnuplot.
Leaving the macro is equivalent to gnuplot reaching EOF when reading an external dataset.
Created: 2025-02-18 Di 12:58