[R] Help With Graphs

From: Alex99 <loyola9988_at_yahoo.com>
Date: Fri, 07 Nov 2008 09:42:49 -0800 (PST)

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.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 07 Nov 2008 - 19:55:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 07 Nov 2008 - 20:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive