Re: [R] hexbin plot

2009-01-03 Thread jim holtman
Have you considered using the lattice-style panel functions that hexbin provides: mixdata <- data.frame(x = c(rnorm(5000),rnorm(5000,4,1.5)), y = c(rnorm(5000),rnorm(5000,2,3)), a = gl(2, 5000)) hexbinplot(y ~ x, mixdata, aspect = 1, panel=function(x, y

[R] hexbin plot

2009-01-03 Thread Rodrigo Fernandes Ramalho
Hello, I would like some help to plot a vertical line on a scatterplot build with hexbin package. I just need to plot a vertical line on the graph to mark a threshold value on x axis. It would be better if the parameter of the plot line function respect the x axis scale. Thanks, Rodrigo