FindCurvePath

FindCurvePath[{{x1,y1},{x2,y2},}]
gives an ordering of the that corresponds to one or more smooth curves.

DetailsDetails

  • FindCurvePath attempts to reconstruct smooth curves defined by sets of points.
  • FindCurvePath gives a list of one or more connected curves, each specified by a disjoint subset of the .

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Randomly select points on a circle:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Find ordering to form a possibly smooth curve:

In[3]:=
Click for copyable input
Out[3]=

Plot a line through rearranged points:

In[4]:=
Click for copyable input
Out[4]=
Introduced in 2008
(7.0)