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

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

[Octave-bug-tracker] [bug #54747] Scatter plot error: number of colors i


From: Rik
Subject: [Octave-bug-tracker] [bug #54747] Scatter plot error: number of colors in C must match number of points in X
Date: Thu, 27 Sep 2018 17:53:31 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

Follow-up Comment #4, bug #54747 (project octave):

That is interesting.  Not quite what I expected.  Could you run this new code
sample?


figure
x = [linspace(0,3*pi,100) nan linspace(0,3*pi,100)];
y = [cos(x) + rand(1,numel(x))];
sz = 80;
c = linspace(1,10,length(x));

h = scatter(x,y,sz,c,'o','LineWidth',1.5);

size (get (h, 'xdata'))
size (get (h, 'cdata'))




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54747>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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