Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create Graphics primitives of a closed curve that encloses a set of points
ResourceFunction["LassoPoints"][pts] return Graphics primitives for a curve that encloses the given 2D points. |
In[1]:= | ![]() |
Out[1]= | ![]() |
In[2]:= | ![]() |
Out[2]= | ![]() |
Lasso the seven points nearest the mean of some data:
In[3]:= | ![]() |
Out[6]= | ![]() |
Lassoing a single point creates a circle:
In[7]:= | ![]() |
Out[7]= | ![]() |
In[8]:= | ![]() |
Out[8]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License