How do you fill a given geometry with the zig-zag lines or spiral lines ?

조회 수: 3 (최근 30일)
Kuber Reddy Gorantla
Kuber Reddy Gorantla 2016년 12월 6일
편집: KSSV 2016년 12월 6일
I wanted to know how do you automatically fill the given geometries with zigzag or spiral contours for the entire region??(You can actually consider a square or rectangle or a circle or any arbitrary shape)

답변 (1개)

KSSV
KSSV 2016년 12월 6일
편집: KSSV 2016년 12월 6일
doc patch, fill
t = linspace(0,2*pi) ;
x = sin(t) ;
patch(t,x,'r')

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by