plot - R - Make lines() points/line thickness reflect density of points? -


i know how change thickness of points/lines manually; wish plot 1000+ series on same graph resulting graph has darker or lighter points depending on density of points @ location. ie, more points centered there darker area gets.

what have this:

plot(df[,1],ylim=c(0,1)) for(i in 2:ncol(df)){    lines(df[,i],col='grey',type='p') } 

which gives me following graph. unfortunately there's many points gives me uniform grey line, instead of telling me how these points distributed.

enter image description here


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

Ansible warning on jinja2 braces on when -

html - How to custom Bootstrap grid height? -