Gnu octave cannot plot

Bug #1256653 reported by Ruben Gonzalez
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

Linux Mint 16 PETRA Cinnamon 64 bit: with Octave 3.6.4

I successfully installed gnuplot (gnuplot-1.0.1.tar.gz using "sudo octave" then "pkg install gnuplot-1.0.1.tar.gz"), but when I type "figure" or use "plot" command, octave returns the error:

octave:1> figure
error: popen2: popen2 (child): unable to start process -- No such file or directory
error: called from:
error: /usr/share/octave/3.6.4/m/plot/private/__gnuplot_open_stream__.m at line 30, column 44
error: /usr/share/octave/3.6.4/m/plot/__gnuplot_drawnow__.m at line 72, column 19
sh: 1: gnuplot: not found
octave:2> error: 'unset' undefined near line 2 column 1
error: Permission denied
error: ignoring octave_execution_exception while preparing to exit

the command "> figure" should have produced a blank figure. Oddly enough, this procedure properly produced the figure with the "RC" edition.

Revision history for this message
Thomas Buick (zogwarg) wrote :

Linux Mint 16 PETRA Cinnamon 32 bit: with Octave 3.6.4

I've got the same bug having installed gnuplot today through apt-get
I get the exact same error message

Revision history for this message
Thomas Buick (zogwarg) wrote :

Fixeg by installing the following packages to linux:
gnuplot
gnuplot-X11

Does it work for you Ruben?

The dependencies should be added in the octave package really

Revision history for this message
Ruben Gonzalez (ruben-carbonbased) wrote :

Yes I actually solved the issue a while ago and forgot to post it. I found the dependencies for octave in some obscure website after checking mys system I found out that I didn't have gnuplot X11 installed. When I installed it, everything functioned normally.

Revision history for this message
alyrkl (aliyurekli20) wrote :

Thanks Thomas it works

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.