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

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

[Octave-bug-tracker] [bug #40663] scatter and scatter3 terribly slow wit


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #40663] scatter and scatter3 terribly slow with real-valued color vector
Date: Thu, 21 Nov 2013 21:06:03 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0

Update of bug #40663 (project octave):

                  Status:               Need Info => Confirmed              
                 Summary: statter and scatter3 terribly slow => scatter and
scatter3 terribly slow with real-valued color vector

    _______________________________________________________

Follow-up Comment #4:

Ok, I see slow performance with this example, definitely due to the presence
of the 4th argument.

These three uses do not appear to me to be any different in performance:


octave:1> a = randn (1e4, 2);
octave:2> scatter (a(:,1), a(:,2));
octave:3> c = randi (64, 1e4, 1);
octave:4> scatter (a(:,1), a(:,2), [], c);
octave:5> c = fix(randn (1e4, 1));
octave:6> scatter (a(:,1), a(:,2), [], c);


but the following usage is extremely slow (I haven't waited long enough to let
it finish yet)


octave:7> c = randn (1e4, 1);
octave:8> scatter (a(:,1), a(:,2), [], c);


It's not clear to me from the help for scatter what the expected behavior is
when the color argument is a vector with the same length as X but consists of
non-integral values instead of integer-valued indices.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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