(index ("call/gnuplot" 0) ("send" 231) ("plot" 333) ("plot3d" 1219) ("save" 1472) ("end-data" 1668))
(def (sig (syntax "(call/gnuplot expr1 expr2 ...)" (id call/gnuplot))) (p "Evaluate expressions redirecting output towards Gnuplot pipe. All procedures defined in this API must be used as " (tt "gp:call/gnuplot") " expressions."))
(def (sig (procedure "(send cmdline)" (id send))) (p "Send arbitrary command to Gnuplot as string."))
(def (sig (procedure "(plot . element)" (id plot))) (p "Draw 2D data. This is a wrapper for the Gnuplot " (tt "plot") " command offering many different graphical representations for data. A plot " (tt "element") " can be given in the form:") (highlight scheme "(plot str list1 list2 ...)") (p "where " (tt "str") " is a (possibly empty) string with optional properties corresponding to Gnuplot " (tt "axes <axes>") ", " (tt "<title-spec>") " and " (tt "with <style>") " specifications (see the Gnuplot manual or launch " (tt "gnuplot -e \"help plot\"") " for more information). List of numbers " (tt "list1") ", " (tt "list2") ", ... are passed to Gnuplot as inline data columns.") (p "To draw multiple sets of data, a plot " (tt "element") " can be also given in the form:") (highlight scheme "(plot '((str-1 list1-1 list2-1 ...)\n        (str-2 list1-2 list2-2 ...)\n        ...))"))
(def (sig (procedure "(plot3d . element)" (id plot3d))) (p "Draw 2D projections of 3D data. This is a wrapper for the Gnuplot " (tt "splot") " command. Plot elements must be in the same format as in the " (int-link "#gp:plot" "gp:plot") " procedure."))
(def (sig (procedure "(save fname)" (id save))) (p "Save last plot to file. Permitted file name " (tt "fname") " extensions are: " (tt "png") ", " (tt "pdf") ", " (tt "svg") ", " (tt "txt") "."))
(def (sig (procedure "(end-data)" (id end-data))) (p "Send end data signal " (tt "e") " to Gnuplot pipe and flush output."))
