diff --git a/docs/src/basic.md b/docs/src/basic.md index 02b927d..2d39233 100644 --- a/docs/src/basic.md +++ b/docs/src/basic.md @@ -226,19 +226,63 @@ save(term="pngcairo size 480,360 fontscale 0.8", output="assets/output.png") ## Gnuplot scripts -Besides exporting plots in a file **Gnuplot.jl** can also save a *script*, i.e. a file containing the minimum set of data and commands required to re-create a figures using just gnuplot (Julia will be no longer needed). +Besides exporting plots in a file **Gnuplot.jl** can also save a *script*, i.e. a file containing the minimum set of data and commands required to re-create a figure using just gnuplot. To generate a script for one of the example above use: ```julia save("script.gp") ``` -after the plot has been displayed. The script can then be used within a gnuplot session as follows: +after the plot has been displayed. Note that when images or large datasets are involved, `save()` may store the data in binary files under a directory named `