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

조회 수: 2 (최근 30일)
Coo Boo
Coo Boo 2018년 12월 6일
댓글: Coo Boo 2018년 12월 6일
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),'*')

채택된 답변

John D'Errico
John D'Errico 2018년 12월 6일
help delaunay

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Delaunay Triangulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by