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

2 次查看(过去 30 天)
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