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

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

[Octave-bug-tracker] [bug #54896] voronoi produces no edges for provided


From: anonymous
Subject: [Octave-bug-tracker] [bug #54896] voronoi produces no edges for provided data
Date: Thu, 25 Oct 2018 12:54:58 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

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

Actually, this was part of the larger dataset

x =[1, 1, 2, 2, 2, 4, 4, 8, 8, 16, 32, 64]
y = [1.0, 2.0, 4.0, 8.0, 15.25, 16.0, 30.5, 32.0, 61.0, 122.0, 244.0, 488.0]
voronoi(x,y)


with which you get some edges, but last three points are hanging in the air,
instead I would expect to have parallel edges separating them.

Tried my first example in Matlab Live editor and it failed saying that points
are collinear, but this second one works fine showing parallel lines for last
four points, while in Octave they are absent.

(file #45293, file #45294)
    _______________________________________________________

Additional Item Attachment:

File name: matlab_voronoi.png             Size:25 KB
File name: octave_voronoi.png             Size:24 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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