19 Oct
2009
19 Oct
'09
12:48 p.m.
Hi all, To draw 9 points with labels, I used the following code. \startbuffer[point2] path p; numeric i; i=1; for j =0.5,1.3,2.5,3,4,4.8,6,7.2,7.9: z[i] = dir(j*45) scaled 4cm; i:= i+1; endfor; p := z1..z2..z3..z4..z5..z6..z7..z8..z9..cycle; draw p; drawpoints p; drawpointlabels p; \stopbuffer \placefigure[middle][]{}{\processMPbuffer[point2]} Then it draw everything well except writing labels inside the circle. How can I write the labels of the points outside of the circle? I'd like to draw 9 points randomly on a circle. Is there a nice way to do it? Thank you. Best regards, Dalyoung