Plot polygon that contains inside edges

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Data Exploration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by