[Xy-pic] Colored vertex
Tigran Sarukhanyan
sstigran at hotmail.com
Mon Aug 10 12:32:49 CEST 2009
Hello everybody.
I've tried to draw colored vertex using xygraph as folowing
\[ \fbox{ \xygraph{
!{<0cm,0cm>;<1cm,0cm>:<0cm,1cm>::}
!{(0,0);a(0)**{}?(1.0)}*+[redl]{\bullet}="a1"
!{(0,0);a(0)**{}?(1.0)}*+{\circ}="a1"
!{(0,0);a(72)**{}?(1.0)}*+{\bullet}="a2"
!{(0,0);a(144)**{}?(1.0)}*+{\bullet}="a3"
!{(0,0);a(216)**{}?(1.0)}*+{\bullet}="a4"
!{(0,0);a(288)**{}?(1.0)}*+{\bullet}="a5"
!{(0,0);a(0)**{}?(1.8)}*+{\bullet}="b1"
!{(0,0);a(72)**{}?(1.8)}*+{\bullet}="b2"
!{(0,0);a(144)**{}?(1.8)}*+{\bullet}="b3"
!{(0,0);a(216)**{}?(1.8)}*+{\bullet}="b4"
!{(0,0);a(288)**{}?(1.8)}*+{\bullet}="b5"
"a1"-"a3" "a3"-"a5" "a5"-"a2" "a2"-"a4" "a4"-"a1"
"b1"-"b2" "b2"-"b3" "b3"-"b4" "b4"-"b5" "b5"-"b1"
"a1"-"b1" "a2"-"b2" "a3"-"b3" "a4"-"b4" "a5"-"b5"
} } \]
But bullet's radius is larger than circ. It doesn't look nice. I'd like to draw as it is shown in the picture.
Thank you.
_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xy-pic/attachments/20090810/1bf4a556/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colored_circle.png
Type: image/png
Size: 7723 bytes
Desc: not available
URL: <http://tug.org/pipermail/xy-pic/attachments/20090810/1bf4a556/attachment.png>
More information about the xy-pic
mailing list