Liking cljdoc? Tell your friends :D

gnuplot.core


Commandcljprotocol

Protocol for formatting things as Gnuplot commands.

Protocol for formatting things as Gnuplot commands.

formatclj

(format x)

Format this thing as a Gnuplot command string.

Format this thing as a Gnuplot command string.
sourceraw docstring

dataset-separatorclj

source

listclj

(list & elements)

A gnuplot comma-separated list, rendered as a,b,c

A gnuplot comma-separated list, rendered as a,b,c
sourceraw docstring

litclj

(lit s)

A literal string, formatted exactly as it is.

A literal string, formatted exactly as it is.
sourceraw docstring

rangeclj

(range lower upper)

A gnuplot range, formatted as [lower:upper]

A gnuplot range, formatted as [lower:upper]
sourceraw docstring

raw-plot!clj

(raw-plot! commands datasets)

Writes a plot! Takes a sequence of Commands, and a sequence of datasets, represented as a sequence of points, each of which is a sequence of numbers.

Writes a plot! Takes a sequence of Commands, and a sequence of datasets,
represented as a sequence of points, each of which is a sequence of numbers.
sourceraw docstring

run!clj

(run! commands input)

Opens a new gnuplot process, runs the given command string, and feeds it the given input stream, waits for the process to exit, and returns a map of its {:exit code, :out string, and :err string}.

Asserts that gnuplot exits with 0; if not, throws an ex-info like {:type :gnuplot, :exit 123, :out ..., :err ...}.

Opens a new gnuplot process, runs the given command string, and feeds it the
given input stream, waits for the process to exit, and returns a map of its
`{:exit code, :out string, and :err string}`.

Asserts that gnuplot exits with 0; if not, throws an ex-info like
`{:type :gnuplot, :exit 123, :out ..., :err ...}`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close