Is there an easy way to avoid overlap of bubbles when working with symbols
?
Here is a minimal example:
set.seed(123)
n = 200
x = runif(n)
size = abs(rnorm(n))
symbols(x,circles=size)
Any suggestions would be greatly appreciated.
Is there an easy way to avoid overlap of bubbles when working with symbols
?
Here is a minimal example:
set.seed(123)
n = 200
x = runif(n)
size = abs(rnorm(n))
symbols(x,circles=size)
Any suggestions would be greatly appreciated.
You can stretch the x axis, but you will have to stretch it a lot to eliminate the overlaps:
> png(filename="circles.png", width=5000, height=1000)
> symbols(x, circles=size, xlim=c(0, 200), cex.lab=3, cex.axis=3)
> dev.off()
The png file will be 5000 pixels across by 1000 pixels high and it eliminates most of the overlaps, but not all of them.