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

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

[Octave-bug-tracker] [bug #47237] scatter plot update_data callback only


From: Daniel Molina García
Subject: [Octave-bug-tracker] [bug #47237] scatter plot update_data callback only works when number of points <= 100
Date: Mon, 1 Jun 2020 21:42:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #7, bug #47237 (project octave):

I spent a long time debugging before knowing about this bug report. I paste
here a minimal code to reproduce the bug in the hope of saving time for
whoever is going to work on this issue.


graphics_toolkit gnuplot
magicN = 100;
X = rand(magicN, 2);
palette = hsv(2);
colors = palette ([ones(magicN/2, 1); 2*ones(magicN/2, 1)], :);
scatter(X(:,1), X(:,2), 65, colors);
stickyColor = randi([1 2]);
scatter([X(:,1); 0.5] , [X(:,2); 0.5], 165, [palette(stickyColor, :);
colors]);


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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