Hi,
I suggest taking a look at the plotting functions in the ggplot2
package. For example:
x - rnorm(1)
y - x+rnorm(1)
dat - data.frame(x,y)
library(ggplot2)
p - ggplot(dat, aes(x=x, y=y))
p + geom_point() # too much overplotting: compare to
dev.new()
p + geom_hex(binwidth=c(.1,.1))
I know that by setting alpha to for example col = rgb(0, 0, 0, 0.1) it is
possible to see how many overlapping is in the plot. But disadvantage of it
is that single points are barely visible on the background. So I wonder if
there is possible to make setting that single points would be almost
2 matches
Mail list logo