Red Hat Bugzilla – Bug 89706
plot(rand(2,10),rand(2,10)) creates error
Last modified: 2005-10-31 17:00:50 EST
Description of problem:
When I write plot(rand(2,10),rand(2,10)) I get an eror message
Version-Release number of selected component (if applicable):
GNU Octave, version 2.1.36
Steps to Reproduce:
>>> gplot tmp(:,1:10:11) , tmp(:,2:10:12) , tmp(:,3:10:13) , tmp(:,4:10:14) ,
error: evaluating if command near line 42, column 5
error: evaluating if command near line 41, column 3
error: called from `__plt2mm__' in file
error: called from `__plt2__' in file `/usr/share/octave/2.1.36/m/plot/__plt2__.m'
error: called from `__plt__' in file `/usr/share/octave/2.1.36/m/plot/__plt__.m'
error: called from `plot' in file `/usr/share/octave/2.1.36/m/plot/plot.m'
A graph should appear
When I write plot(rand(2,3),rand(2,3)), I get the graph that I want.
*** Bug 89708 has been marked as a duplicate of this bug. ***
*** Bug 89707 has been marked as a duplicate of this bug. ***
The above behavior (parse error) indeed occurs on 2.1.36 as shipped with Red Hat
Linux 8.0. However, it does not occur on 2.1.40-4 as shipped with Red Hat Linux
9. The Red Hat Linux 9 package is available from:
and should work on an installed 8.0 system.
Attached is a screenshot of the plot.
Created attachment 91340 [details]
Screenshot of plot(rand(2,10),rand(2,10)) w/ 2.1.40 on Red Hat Linux 8.0