[R] Scatterplot - Overlap Frequency

Wu Gong wg2f at mtmail.mtsu.edu
Thu Aug 12 22:45:33 CEST 2010


Hi Marcio,

Your friend has given the answer.

x <- rnorm(10)
y <- rnorm(10)
ind <- c(3,0,1,0,3,0,2,2,0,0) 

plot(x, y, col = grey(0:max(ind)/max(ind))[ind], pch = 16)



Mestat wrote:
> 
> I am working o a scatterplot where I would like to plot the variables
> according with another frequency variable.
> 

Regards,

Wu

-----
A R learner.
-- 
View this message in context: http://r.789695.n4.nabble.com/Scatterplot-Overlap-Frequency-tp2323322p2323349.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list