Skip to content
Prev 11857 / 398502 Next

plotting circles / piecharts with only one category

Moritz Lennert wrote:
The function you want is called "symbols".  E.g.

x <- runif(10)
y <- runif(10)
r <- (1+runif(10))/2
plot(x, y, type="n", xlim=c(0,1), ylim=c(0,1), axes=F, ann=F)
symbols(x,y,circles=r,inches=.5,bg=gray((1:10)/10))

Ross
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._