From 99d2ddccce116e4318eab698a44ba7940f3f0c97 Mon Sep 17 00:00:00 2001 From: Giorgio Calderone Date: Wed, 1 Apr 2020 10:13:39 +0200 Subject: [PATCH] Docstrings updated --- docs/src/basic.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/src/basic.md b/docs/src/basic.md index 2d39233..dc7f766 100644 --- a/docs/src/basic.md +++ b/docs/src/basic.md @@ -217,12 +217,16 @@ palette_names() ## Exporting plots to files -The [`save()`](@ref) function allows to export all plots (as well as multiplots, see [Multiplot](@ref)) to a file using one of the many available gnuplot terminals. To check which terminals are available in your platform type `set term` in your gnuplot terminal. +**Gnuplot.jl** to export all plots (as well as multiplots, see [Multiplot](@ref)) to an external file using one of the many available gnuplot terminals. To check which terminals are available in your platform type: +```@repl abc +terminals() +``` -All plots in this page have been saved with: +Once you choose the proper terminal (i.e. format of the exported file), use the [`save()`](@ref) function to export. As an example, all the plots in this page have been saved with: ```julia save(term="pngcairo size 480,360 fontscale 0.8", output="assets/output.png") ``` +Note that you can pass both the terminal name and its options via the `term=` keyword. ## Gnuplot scripts