Then it invokes gnuplot (the one included with octave: I removed my other version to save space and confusion), but octave seems to have no control until I quit the gnuplot. Namely, I cannot use octave syntax until I type quit in gnuplot prompt and fall back to the octave prompt.
----- Original Message ----
From: Michael Goffioul <address@hidden>
To: N. B. <address@hidden>
Cc: address@hidden
Sent: Monday, December 17, 2007 2:49:19 AM
Subject: Re: problem with gnuplot and octave, 2.9.19, MSVC build on windows XP
On 12/16/07, N. B. <
address@hidden> wrote:
>
> Hello,
> I need help with two things:
> 1) How can I change the graphics backend back and forth without quitting
> octave?
> 2) Currently, when I set the default backend to gnuplot, I get an error:
> (I copy and paste from cmd.exe window:)
> error: drawnow: failed to open connection to gnuplot
> error: evaluating if command near line 117, column 3
> error: called from
`drawnow:open_gnuplot_stream' in file
> `E:\Programs\Octave\share\octave\2.9.19\m\plot\drawnow.m'
> error: evaluating if command near line 78, column 8
> error: evaluating if command near line 77, column 6
> error: evaluating if command near line 74, column 4
> error: evaluating if command near line 72, column 2
> error: evaluating for command near line 71, column 7
> error: evaluating if command near line 45, column 5
> error: called from `drawnow' in file
> `E:\Programs\Octave\share\octave\2.9.19\m\plot\drawnow.m'
What if you type:
system('pgnuplot')
Michael.