Fri 04 Jun 2010 08:52:01 AM UTC, comment #3:
Thanks a lot, Ben and Rik.
First regarding the alternative way for changing the color as proposed by Rik: scatter(1:100,1:100,[],'r') instead of scatter(1:100,1:100,'r'). This works in octave 3.0.5, but in octave 3.2.2, I get the following error:
>> scatter(1:100,1:100,[],'r')
error: invalid value for array property "cdata"
error: called from:
error: /usr/share/octave/3.2.2/m/plot/__scatter__.m at line 127, column 5
error: /usr/share/octave/3.2.2/m/plot/scatter.m at line 70, column 7
Furthermore, I tried to patch scatter.m contained in the image toolbox 1.0.10 used in conjunction with octave version 3.2.2:
cp /usr/share/octave/3.2.2/m/plot/scatter.m .
patch scatter.m changeset.patch
patching file scatter.m
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file scatter.m.rej
can't find file to patch at input line 22
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r f5f9bc8e83fc -r 542eee355720 scripts/plot/private/__scatter__.m
|--- a/scripts/plot/private/__scatter__.m Sun May 30 13:45:50 2010 -0700
|+++ b/scripts/plot/private/__scatter__.m Wed Jun 02 20:17:16 2010 -0400
--------------------------
File to patch:
Did I patch the wrong scatter.m version?
Thanks again!
|