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

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

[Octave-bug-tracker] [bug #39370] contourc adds duplicates to the start


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #39370] contourc adds duplicates to the start and end of the 1st level
Date: Tue, 26 Jul 2022 10:57:34 -0400 (EDT)

Follow-up Comment #13, bug #39370 (project octave):

looking again at matlab's old documentation, they had a 'contour algorithm'
explanation


"Keep checking the edges of each square entered to determine the exit edge
until the line(cx,cy) closes on its initial point or exits the grid."

https://lost-contact.mit.edu/afs/inf.ed.ac.uk/group/teaching/matlab-help/R2013b/matlab/creating_plots/the-contouring-algorithm.html

Wouldn't surprise me if there was an explicit 'if within eps, make the points
exact' step in their algorithm. that would likely help merge
intersecting/branching contours, but now that I try to think about it I'm not
sure if continuous functions can have branches/intersections.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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