[R] Is something wrong wiht draw.circle()?

Chris82 rubenbauar at gmx.de
Fri Sep 7 18:04:30 CEST 2012


Hey R users,

I am a little bit confused.


require(plotrix)

plot(0,xlim=c(-10,10),ylim=c(-10,10),type="n",xlab="",ylab="")
draw.circle(0,0,5)

lines(c(0,0),c(0,5))
lines(c(0,5),c(0,0))


This is not really a circle with a radius of 5.


best regards



--
View this message in context: http://r.789695.n4.nabble.com/Is-something-wrong-wiht-draw-circle-tp4642514.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list