Why use Gaston, when there are plenty of modern, powerful alternatives such as Plots.jl and Gadfly.jl? These are some Gaston features that may be attractive to you:
My philosophy is that plotting to the screen should be fast and non-ugly. Publication-quality plots are the domain of TiKZ and pgfplots.
Having said that, Gaston also shares GnuPlot's limitations. The main one is that gnuplot is not a library; it is designed to be used interactively. Gaston simulates a user typing interactive commands in a gnuplot session. While Gaston provides many safeguards, there is always the possibility that something goes wrong and a restart is required.
Gaston requires gnuplot to be installed in your system. It has been tested with versions 4.6 and above, and version 5.2 is recommended. Gaston also requires Julia v0.6.
To install Gaston using Julia's packaging system, run
There is a tutorial available here.
Additional reference documentation is forthcoming.
Recent versions of OSX removed support for the aqua terminal from gnuplot. Before attempting to use aqua in Gaston, open a terminal and run this command:
gnuplot -e "set term" | grep aqua
If nothing is printed, then you do not have support for the aqua terminal and should not attempt to use it in Gaston. By default, Gaston uses the wxt terminal. You can verify if your version of gnuplot supports it by issuing
gnuplot -e "set term" | grep wxt
A further alternative is the qt terminal. If it is not supported, then you either need to install a gnuplot version with support for modern terminals, or revert to the x11 terminal with:
x11 is a fallback terminal with less bells and whistles than qt, wxt or aqua.
Gaston includes many tests, wich you can run to make sure your installation is working properly. To run the tests, do
All tests should pass.
5 months ago