Displaying 1 result from an estimated 1 matches for "_mar_".
Did you mean:
_far_
2004 Nov 09
1
gplot.hexbin - how to set figure margin.
...hexbin package to plot a 2D hist - because it looks really _cool_.
My problem is related to drawing a pdf hexbin graphic in series of other graphics.
All other figures have a par(mar=c(3.2,3.2,1,1)). So the gplot.hexbin figure in this series looks a little alienated?
Was trying a to specify the _mar_ using par, viewport, hexViewport etc. a little.
My question. How to set the margins in the sample code below.
x <- rnorm(10000)
y <- rnorm(10000)
bin <- hexbin(x,y)
## Plot : Note that 'gplot.hexbin' is the S4 plot method for hexbin !
## ---- ------------...