diff --git a/v1.1.0/advanced/index.html b/v1.1.0/advanced/index.html index 08b5832..84e8f28 100644 --- a/v1.1.0/advanced/index.html +++ b/v1.1.0/advanced/index.html @@ -16,9 +16,9 @@ name = "\$MyDataSet1" a = gpexec("print a"), b = gpexec("print b"), c = gpexec("print c"))
┌ Info: Best fit values:
-│ a = "1.48733797951591"
-│ b = "0.342767782101142"
-└ c = "0.703258379483041"A named dataset is available until the session is reset, i.e. as long as :- is used as first argument to @gp.
Gnuplot.jl can draw multiple plots in the same figure by exploiting the multiplot command. Each plot is identified by a positive integer number, which can be used as argument to @gp to redirect commands to the appropriate plot.
Continuing with the previous example we can plot both data and best fit model (in plot 1) and residuals (in plot 2):
@gp :- "set multiplot layout 2,1"
+│ a = "1.51754119325025"
+│ b = "0.297931064258613"
+└ c = "0.706279004344445"A named dataset is available until the session is reset, i.e. as long as :- is used as first argument to @gp.
Gnuplot.jl can draw multiple plots in the same figure by exploiting the multiplot command. Each plot is identified by a positive integer number, which can be used as argument to @gp to redirect commands to the appropriate plot.
Continuing with the previous example we can plot both data and best fit model (in plot 1) and residuals (in plot 2):
@gp :- "set multiplot layout 2,1"
@gp :- 1 "p $name w errorbars t 'Data'"
@gp :- "p $name u 1:(f(\$1)) w l t 'Best fit model'"
@gp :- 2 "p $name u 1:((f(\$1)-\$2) / \$3):(1) w errorbars t 'Resid. [{/Symbol s}]'"
@@ -92,4 +92,4 @@ GNUPLOT (default) set output 'output.png'
GNUPLOT (default) plot \
$data1 w l t 'Parabola'
GNUPLOT (default) set output
-GNUPLOT (default) set term wxt 0 enhancedEach line reports the package name (GNUPLOT), the session name (default), the command or string being sent to gnuplot process, and the returned response (line starting with ->). Default value is false;
cmd::String: command to start the gnuplot process, default value is "gnuplot". If you need to specify a custom path to the gnuplot executable you may change this value;
default::Symbol: default session name, i.e. the session that will be used when no session name is provided;
preferred_format::Symbol: preferred format to send data to gnuplot. Value must be one of:
bin: provides best performances for large datasets, but uses temporary files;text: may be slow for large datasets, but no temporary file is involved;auto (default) automatically choose the best strategy.Settings
This document was generated with Documenter.jl on Wednesday 8 April 2020. Using Julia version 1.4.0.