I’m glad to announce the first production ready version of Gnuplot.jl, a package to drive an external gnuplot process from Julia.
The most characterizing features of Gnuplot.jl are:
- a carefully designed syntax, aimed to be extremely concise yet meaningful;
- a very easy to learn API: just two macros (
@gsp), accepting any number of arguments (either Julia numeric arrays, or gnuplot commands as strings), allow to produce the vast majority of plots;
- possibility to export both data and commands into an external script, to be loaded directly in gnuplot (Julia is no longer required) to recreate exactly the same plot.
The above features makes Gnuplot.jl the ideal tool for interactive data exploration, and the script output allows easy decoupling of plot data and aethetics from the Julia code used to generate them. Other features are:
- availability of all palettes from ColorSchemes;
- support for multiple plots in one window, multiple plotting windows, as well as ASCII and Sixel plots (to directly plot in a terminal window);
- support for histograms (both 1D and 2D);
- enhanced support for contour plots;
- export to a huge number of formats such as
svg, etc. (actually all those supported by gnuplot) to produce publication-quality plots.
The purpose of Gnuplot.jl is very similar to Gaston but the approach is rather different, with the former focusing mainly on syntax conciseness, a very simple API, and the scripting capabilities. On the other hand, Gnuplot.jl requires (and aims to value) some previous knowledge of gnuplot (which is not necessary to use Gaston).
Comments / issues are welcome!