gnuplot v0.19.70 Gnuplot View Source

Transmit Elixir data to Gnuplot graphing library.

Link to this section Summary

Link to this section Functions

Link to this function

gnuplot_bin() View Source
gnuplot_bin() :: {:error, :gnuplot_missing} | {:ok, :file.name()}

Link to this function

plot(commands) View Source
plot([term()]) :: {:ok, String.t()} | {:error, term()}

Link to this function

plot(commands, datasets) View Source
plot([term()], [Dataset.t()]) :: {:ok, String.t()} | {:error, term()}

Transmit commands and data streams.

Examples

iex> Gnuplot.plot([:plot, "-", :with, :lines], [[[0, 0], [1, 2], [2, 4]]])
{:ok, gnuplot_cmd}