[R] Help With Graphs
Alex99
loyola9988 at yahoo.com
Fri Nov 7 18:42:49 CET 2008
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.
More information about the R-help
mailing list