Plot polygon that contains inside edges

1 回表示 (過去 30 日間)
Sososasa
Sososasa 2014 年 4 月 6 日
編集済み: Sososasa 2014 年 4 月 7 日
Hi,
I have a set of vertices and set of edges that create this shape:
Vertices = [1 4; 2.8 6; 5 5.7;...
7 4; 6 3.3; 4 1;...
1.5 2.5; 3.8 2.5; 4 4;...
1.7 3; 2 4.2; 4.2 4.1];
Edges = [1 2; 2 3; 3 4; 4 5; 5 6; 6 7; 7 1;...
6 8; 8 9; 9 2;...
7 10; 10 8;...
1 11; 11 9;...
9 12; 12 3;...
3 5];
How can I plot this shape and show the inside edges ? I know about the fill function and patch function but I don't know how to use them to show the edges inside.

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Exploration についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by