Displaying 1 result from an estimated 1 matches for "upperpanel".
Did you mean:
superpanel
2007 Oct 19
1
Using grid graphics (hexbin) in pairs() plot problem
Hi,
I am trying to create a plot with pairs()
using a gplot.hexbin() for each pair.
For pairs I can provide a custom upperPanel function:
pairs(iris[1:4], panel=mypanel)
and mypanel() calls plot.hexbin():
library(hexbin) # Bioconductor
mypanel <- function(x, ...){
hb <- hexbin(x)
plot(hb)
}
The problem is that gplot.hexbin() is based
on the grid-graphics, and each hexplot
goes over...