Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %% Setting coordinates
- foreach n in {1,...,8}{
- coordinate (Pn) at (n*45:1);
- }
- coordinate (P9) at ($.5*(P3)+.5*(P8)$);
- coordinate (P10) at ($.5*(P4)+.5*(P7)$);
- %% Drawing the graph
- draw[myline,blue!70] (P7) -- (P8) -- (P9);
- draw[myline,red!70] (P3) -- (P4) -- (P10);
- draw[myline,green!70!black] (P1) -- (P9) -- (P2);
- draw[myline] (P5) -- (P10);
- draw[myline] (P6) -- (P7);
- draw[myline] (P2) -- (P3);
- %% Drawing the shapes
- draw[dashed, very thick] (0,0) circle (1.55);
- % draw [decorate,decoration={brace,amplitude=2pt,mirror,raise=4pt}] (1,1) arc (0:180:1.5 and 1);
- draw[decorate,decoration=brace](45:1.7) arc (-45:90:1.7);
- draw[green!70!black, very thick] (45:1.25) arc (45:90:1.25) arc (90:190:.25)
- -- ($(P9)+(-170:.25)$) arc (-170:-55:.25)
- -- ($(P1)+(-55:.25)$) arc (-55:45:.25);
- draw[red!70, very thick] (135:1.25) arc (135:180:1.25) arc (180:250:.25)
- -- ($(P10)+(250:.25)$) arc (250:380:.25)
- -- ($(P3)+(20:.25)$) arc (20:135:.25);
- draw[blue!70, very thick] (-45:1.2) arc (-45:0:1.2) arc (0:70:.2)
- -- ($(P9)+(70:.2)$) arc (70:215:.2)
- -- ($(P7)+(215:.2)$) arc (215:315:.2);
- %% Drawing the node
- foreach n in {1,...,10}{
- fill (Pn) circle (.1);% node[scale=.3,white]{n};
- }
- %% Labeling the clusters
- end{tikzpicture}
- caption{}label{fig:GMR1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement