Hi, I have spatial data for plants that I would like to plot according to its radius using sysmbols(). Also I would like to color the circles according to an individual's age using heat.colors(17) [ages within the whole data set range from 0:16].
I have not found an easy way to assign ages (=a) a specific heat.color. Any suggestions? Thanks, Patrick x <- c(1,3,4,6,7,3,2,8,3,6,5,5) y <- c(0,5,4,2,7,6,4,5,3,7,9,2) r <- c(0.1,0.4,0.3,0.2,0.5,0.3,0.2,0.4,0.3,0.2,0.1,0.2) a <- c(0,4,2,3,5,6,8,2,9,10,11,6) symbols(x,y,circles=r,bg=heat.colors(17),xlim=c(0,10),ylim=c(0,10),inches=F) -- Patrick Kuss PhD-student Institute of Botany University of Basel Schönbeinstr. 6 CH-4056 Basel +41 61 267 2976 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
