[R] Help With Graphs
Sarah Goslee
sarah.goslee at gmail.com
Fri Nov 7 21:02:34 CET 2008
?text
On Fri, Nov 7, 2008 at 12:42 PM, Alex99 <loyola9988 at yahoo.com> wrote:
>
> Hi guys,
>
> I am truing to draw a circle and choose 10 points on the circle and put a
> number from 1 to 10 above each point. I don't have a problem with drawing a
> circle and choosing 10 points. my problem is with numbering . is it even
> possible to put a number above each chosen point? if so any idea how to do
> it?
>
> ps: the circle has red dots and the selected points are in black.
>
> here is my code:
>
> D=cos(2*pi*(0:9)/10)
> C=sin(2*pi*(0:9)/10)
>
> x1=(sin((0:100)*2*pi/100))
> y1=(cos((0:100)*2*pi/100))
> plot(x1,y1,col="red")
>
> points(C,D)
>
> Thanks,
> --
> View this message in context: http://www.nabble.com/Help-With-Graphs-tp20385465p20385465.html
> Sent from the R help mailing list archive at Nabble.com.
>
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list