how to connect neighbor points in a scattered 2D plot?

2 vues (au cours des 30 derniers jours)
Coo Boo
Coo Boo le 6 Déc 2018
Commenté : Coo Boo le 6 Déc 2018
Hi,
I have scattered points on a 2D plot and I want to connect neighbor points to each other.
How can I do it?
thanks for your help
example:
x=rand(100,2);
plot(x(:,1),x(:,2),'*')

Réponse acceptée

John D'Errico
John D'Errico le 6 Déc 2018
help delaunay

Plus de réponses (0)

Catégories

En savoir plus sur Scatter Plots dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by