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 How reproducible: 100% Steps to Reproduce: Type plot(rand(2,10),rand(2,10)) Actual results: parse error: >>> gplot tmp(:,1:10:11) , tmp(:,2:10:12) , tmp(:,3:10:13) , tmp(:,4:10:14) , tmp(:,5 error: evaluating if command near line 42, column 5 error: evaluating if command near line 41, column 3 error: called from `__plt2mm__' in file `/usr/share/octave/2.1.36/m/plot/__plt2mm__.m' 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' Expected results: A graph should appear Additional info: 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: ftp://ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/octave-2.1.40-4.i386.rpm 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