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

2 visualizzazioni (ultimi 30 giorni)
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),'*')

Risposta accettata

John D'Errico
John D'Errico il 6 Dic 2018
help delaunay

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by