Updated svg default terminal (white bkg and dynamic)

This commit is contained in:
Giorgio Calderone 2020-04-17 19:46:48 +02:00
parent 7fccfa2ae1
commit 7b0955e12a
2 changed files with 4 additions and 4 deletions

View File

@ -23,9 +23,9 @@ The package options are stored in a global structure available in Julia as `Gnup
Gnuplot.options.term = "wxt size 700,400";
```
- `term_svg::String`: terminal to save png files (default `"svg"`);
- `term_svg::String`: terminal to save png files (default: `"svg background rgb 'white' dynamic"`);
- `term_png::String`: terminal to save png files (default `"pngcairo"`);
- `term_png::String`: terminal to save png files (default: `"pngcairo"`);
- `init::Vector{String}`: commands to initialize the session when it is created or reset. It can be used to, e.g., set a custom linetypes or palette:
```@repl abc

View File

@ -201,7 +201,7 @@ Structure containing the package global options, accessible through `Gnuplot.opt
- `cmd::String`: command to start the Gnuplot process (default: `"gnuplot"`)
- `default::Symbol`: default session name (default: `:default`)
- `term::String`: default terminal for interactive use (default: empty string, i.e. use gnuplot settings);
- `term_svg::String`: terminal to save png files (default `"svg"`);
- `term_svg::String`: terminal to save png files (default `"svg background rgb 'white' dynamic"`);
- `term_png::String`: terminal to save png files (default `"pngcairo"`);
- `init::Vector{String}`: commands to initialize the session when it is created or reset (e.g., to set default palette);
- `verbose::Bool`: verbosity flag (default: `false`)
@ -215,7 +215,7 @@ Base.@kwdef mutable struct Options
cmd::String = "gnuplot"
default::Symbol = :default
term::String = ""
term_svg::String = "svg"
term_svg::String = "svg background rgb 'white' dynamic"
term_png::String = "pngcairo"
init::Vector{String} = Vector{String}()
verbose::Bool = false