The rebuild is still not perfect:
I rebuilded from source as indicated above, and put higer version number 
I have removed gnuplot, and all unneeded plplot stuff, to keep only what i need

$ dpkg -l | grep plplot|awk '{print $1 "\t"  $2 "\t"  $3}'
ii      libplplot9      5.9.2-32-AL1
ii      octave-plplot   5.9.2-32-AL1
ii      plplot-bin      5.9.2-32-AL1
ii      plplot-doc      5.9.2-32-AL1
ii      plplot9-driver-cairo    5.9.2-32-AL1
ii      plplot9-driver-gd       5.9.2-32-AL1

if i produce an error (not togle_plplot_use before trying to plot) then next 
invocation will fail:
1/ This is ok :
------------------
octave:1> x=[0, 1, 3, 4, -1]; y = [ -1, 4, 6, -2, 1];
octave:2> toggle_plplot_use
Use PLplot: on
octave:3> plot(x,y)
Requested device xwin not available

Plotting Options:
 < 1> ps         PostScript File (monochrome)
 < 2> psc        PostScript File (color)

2/ With an error first, then it fails and i need to retart octave:
octave:1> x=[0, 1, 3, 4, -1]; y = [ -1, 4, 6, -2, 1];
octave:2> plot(x,y)
sh: gnuplot: not found
sh: gnuplot: not found
error: you must have gnuplot installed to display graphics; if you have gnuplot 
installed in a non-standard location, see the 'gnuplot_binary' function
octave:3> toggle_plplot_use
Use PLplot: on
octave:4> plot(x,y)
^C^CPress Control-C again to abort.

-- 
plot does not work with octave 3.2
https://bugs.launchpad.net/bugs/505854
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to