octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34936] scatter errors after completion when m


From: Antti Andreimann
Subject: [Octave-bug-tracker] [bug #34936] scatter errors after completion when more than 100 points
Date: Mon, 05 Dec 2011 11:09:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Follow-up Comment #11, bug #34936 (project octave):

Experiencing the same here.
OS: Fedora 15
Octave 3.4.2


octave:3> X = rand(120, 2); y = repmat([1:3]', 40, 1);
octave:4> scatter(X(:,1), X(:, 2), [], hsv(4)(y, :));
error: __scatter__: A(I): index out of bounds; value 4 out of bound 3
error: called from:
error:   /usr/share/octave/3.4.2/m/plot/private/__scatter__.m at line 201,
column 13
error:   /usr/share/octave/3.4.2/m/plot/scatter.m at line 71, column 11


A fix was posted to Stanford's ml-class.org forums by Timo Partanen
http://www.ml-class.org/course/qna/view?id=4732

The attached patch implements it.

Please apply.

Thank you!

(file #24537)
    _______________________________________________________

Additional Item Attachment:

File name: octave-scatter-color-map-fix.patch Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34936>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]