I use multiplot
@gp "reset"
@gp "set multiplot layout 1,2 title '$(tree.name)'" :-
@gp :- 1 xlabel="stage" :-
@gp :- 1 "set title 'trajectories'" :-
etc.
but then I cannot reset the plot.
I tried
@gp :- "unset multiplot"
@gp :- "reset"
and combinations as
@gp :- 1 "unset multiplot"
@gp :- 2 "reset"
but no success…
All commands fail, even @gp "reset session" fail with the same error (see below).
What is the proper way of completely restarting, avoiding Gnuplot.quitall()?
Thank you!
PS: the error:
ERROR: BoundsError: attempt to access 0-element Vector{String} at index [1]
Stacktrace:
[1] getindex
@ ./essentials.jl:919 [inlined]
[2] reset(gp::Gnuplot.GPSession)
@ Gnuplot ~/.julia/packages/Gnuplot/jJ4hs/src/Gnuplot.jl:774
[3] driver(::String, ::Vararg{Any}; is3d::Bool)
@ Gnuplot ~/.julia/packages/Gnuplot/jJ4hs/src/Gnuplot.jl:1283
[4] driver
@ ~/.julia/packages/Gnuplot/jJ4hs/src/Gnuplot.jl:1261 [inlined]
I use multiplot
but then I cannot reset the plot.
I tried
and combinations as
but no success…
All commands fail, even
@gp "reset session"fail with the same error (see below).What is the proper way of completely restarting, avoiding
Gnuplot.quitall()?Thank you!
PS: the error: