Johnco
May 16th, 2009, 03:43 PM
Hi everyone. I just decided to have a clean install of Ubuntu 9.0.4 on my laptop.
i installed octave 3.0.1 from synaptic, which brought gnuplot among other dependencies. Everything installed just fine, but Octave won't plot.
A simple command such as:
octave:1> x=[0:0.1:1];
octave:2> plot(x,x,";something;");
will produce the given output:
error: `have_newer_gnuplot' undefined near line 1589 column 7
error: if: error evaluating conditional expression
error: evaluating if command near line 1589, column 3
error: called from `__go_draw_axes__:get_text_colorspec' in file `/usr/share/octave/3.0.1/m/plot/__go_draw_axes__.m'
error: evaluating assignment expression near line 90, column 17
error: evaluating if command near line 87, column 5
error: evaluating if command near line 25, column 3
error: called from `__go_draw_axes__' in file `/usr/share/octave/3.0.1/m/plot/__go_draw_axes__.m'
error: evaluating switch command near line 58, column 4
error: evaluating for command near line 56, column 2
error: evaluating if command near line 33, column 7
error: evaluating if command near line 26, column 5
error: evaluating if command near line 25, column 3
error: called from `__go_draw_figure__' in file `/usr/share/octave/3.0.1/m/plot/__go_draw_figure__.m'
error: evaluating if command near line 81, column 6
error: evaluating if command near line 78, column 4
error: evaluating if command near line 76, column 2
error: evaluating for command near line 75, column 7
error: evaluating if command near line 45, column 5
error: called from `drawnow' in file `/usr/share/octave/3.0.1/m/plot/drawnow.m'
any idea?
thanks in advance!
i installed octave 3.0.1 from synaptic, which brought gnuplot among other dependencies. Everything installed just fine, but Octave won't plot.
A simple command such as:
octave:1> x=[0:0.1:1];
octave:2> plot(x,x,";something;");
will produce the given output:
error: `have_newer_gnuplot' undefined near line 1589 column 7
error: if: error evaluating conditional expression
error: evaluating if command near line 1589, column 3
error: called from `__go_draw_axes__:get_text_colorspec' in file `/usr/share/octave/3.0.1/m/plot/__go_draw_axes__.m'
error: evaluating assignment expression near line 90, column 17
error: evaluating if command near line 87, column 5
error: evaluating if command near line 25, column 3
error: called from `__go_draw_axes__' in file `/usr/share/octave/3.0.1/m/plot/__go_draw_axes__.m'
error: evaluating switch command near line 58, column 4
error: evaluating for command near line 56, column 2
error: evaluating if command near line 33, column 7
error: evaluating if command near line 26, column 5
error: evaluating if command near line 25, column 3
error: called from `__go_draw_figure__' in file `/usr/share/octave/3.0.1/m/plot/__go_draw_figure__.m'
error: evaluating if command near line 81, column 6
error: evaluating if command near line 78, column 4
error: evaluating if command near line 76, column 2
error: evaluating for command near line 75, column 7
error: evaluating if command near line 45, column 5
error: called from `drawnow' in file `/usr/share/octave/3.0.1/m/plot/drawnow.m'
any idea?
thanks in advance!