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

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

[Octave-bug-tracker] [bug #54268] Plot: X Axis is shifted up out of valu


From: anonymous
Subject: [Octave-bug-tracker] [bug #54268] Plot: X Axis is shifted up out of values range on the plot on Windows 10
Date: Sat, 14 Jul 2018 12:09:29 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #2, bug #54268 (project octave):

The code is below. I checked again, issue is reproduced. Each row of data set
looks like "34.62365962451796,78.0246928153426,0".

>> data = load('data.txt');
>> X = data(:, [1, 2]); y = data(:, 3);
>> pos = find(y == 1); neg = find(y == 0);
>> plot(X(pos, 1), X(pos, 2), "+k", X(neg, 1), X(neg, 2), "ok",
"MarkerFaceColor", "y", "MarkerSize", 7, "LineWidth", 2);

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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