[R] Hexbin margins

holly beale hbeale at gmail.com
Sat Aug 8 08:50:55 CEST 2009

Hi All -

I'm having a layout problem with hexbin. The axis labels overlap with
the axis tick labels.

I've tried changing grid and trellis layout settings, as well as the
more obvious mar settings without luck.

Here's how to recreate the probem:

x <- abs(rnorm(500,500,500))
y <- jitter(x)

bin <- hexbin(x,y,)
srt=plot(bin,xlab="Average X Value", ylab= "Average Y Value",
main="The shortest title I could think of\nwas still two lines")

Thanks in advance for your thoughts on this.


More information about the R-help mailing list