From f877c270f112df0e2c4dd1b75b688129d16d237b Mon Sep 17 00:00:00 2001 From: Giorgio Calderone Date: Tue, 31 Mar 2020 16:00:47 +0200 Subject: [PATCH] Docstrings updated --- docs/src/basic.md | 52 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 4 deletions(-) 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 `