how to solve polygon subtract problem?
7 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
Matt J
2022 年 10 月 17 日
編集済み: Matt J
2022 年 10 月 17 日
but what i want to plot is thrid polygon.
Plot the original polygon overlaid on top of the crescent (moon), but make the original polygon transparent.
p1=nsidedpoly(1000);
p2=nsidedpoly(1000,'Center',[1,0]);
p3=subtract(p1,p2);
plot(p3); hold on
plot(p1,'FaceAlpha',0)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Elementary Polygons についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!