Fixes #25
This commit is contained in:
parent
69644f99ba
commit
67a5583c29
@ -911,6 +911,7 @@ function execall(gp::GPSession; term::AbstractString="", output::AbstractString=
|
|||||||
if term != ""
|
if term != ""
|
||||||
former_term = writeread(gp, "print GPVAL_TERM")[1]
|
former_term = writeread(gp, "print GPVAL_TERM")[1]
|
||||||
former_opts = writeread(gp, "print GPVAL_TERMOPTIONS")[1]
|
former_opts = writeread(gp, "print GPVAL_TERMOPTIONS")[1]
|
||||||
|
gpexec(gp, "unset multiplot")
|
||||||
gpexec(gp, "set term $term")
|
gpexec(gp, "set term $term")
|
||||||
end
|
end
|
||||||
(output != "") && gpexec(gp, "set output '$output'")
|
(output != "") && gpexec(gp, "set output '$output'")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user