[R] Help with Plots

Alex99 loyola9988 at yahoo.com
Wed Oct 29 19:48:58 CET 2008


Hi there,
I am trying to have a connectivity graph (two plots at once) in R: 
this is an example:

x1=sin((0:100)*2*pi/100)
y1=cos((0:100)*2*pi/100)
 plot(x1,y1)

will draw a circle and

x2=c(1,9,3,4,8,4,2,0)
y2=c(3,6,8,2,4,1,9,6)
plot(x2,y2,type="b")

will draw a graph with corresponding x's and y's and connects the point.

I want to have a circle with these points connected to each other inside the
circle. is it possible to do it in R?

Thanks 
-- 
View this message in context: http://www.nabble.com/Help-with-Plots-tp20233489p20233489.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list