GnuplotEx.Version (gnuplot_ex v0.5.0)
Gnuplot version detection and validation.
GnuplotEx requires Gnuplot 6.0 or later for full functionality.
Summary
Functions
Check if the installed gnuplot version meets the minimum requirement.
Returns {:ok, version_string} if version >= 6.0.0, or {:error, reason}.
Example
iex> GnuplotEx.Version.check()
{:ok, "6.0.0"}
iex> GnuplotEx.Version.check()
{:error, {:version_too_old, "5.4.0", "6.0.0"}}
Get the installed gnuplot version.
Returns {:ok, version_string} or {:error, reason}.
Example
iex> GnuplotEx.Version.get()
{:ok, "6.0.0"}
@spec minimum() :: String.t()
Get the minimum required gnuplot version.
Example
iex> GnuplotEx.Version.minimum()
"6.0.0"