polybuffer command how to get the polygons without colours ?

5 ビュー (過去 30 日間)
jahanzaib ahmad
jahanzaib ahmad 2018 年 11 月 27 日
コメント済み: jahanzaib ahmad 2018 年 11 月 28 日
Capture.PNGi m using polybuffer command
polyout3 = polybuffer(polyin,0.006667,'JointType','square');
plot(polyout2);
i want to remove the colours of polygons and just want the boundaries or offset polygons .

採用された回答

Steven Lord
Steven Lord 2018 年 11 月 27 日
When you call plot on the polyshape object returned by polybuffer specify that you want 'FaceColor' to be 'none'. Compare the plots in the two figures created by this code:
>> P = nsidedpoly(4);
>> figure
>> plot(P)
>> title('Default FaceColor')
>> figure
>> plot(P, 'FaceColor', 'none')
>> title('FaceColor none')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElementary Polygons についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by