Displaying 1 result from an estimated 1 matches for "surber".
Did you mean:
suber
2010 Jun 02
1
lattice, xyplot, using "panel.segments" by just addressing one panel
...Would be so great, if somebody could help me with that!
That's the code, I used:
library(lattice)
library(latticeExtra)
#[...]
attach(mydata)
attach(links) #containing the coordinates for the segments fx, fy, tx, ty
fx <- fx
fy <- fy
tx <- tx
ty <- ty
xyplot(LogN~LogM|factor(surber),
par.settings = list(strip.background = list(col = "transparent")),
xlab = "Log M", ylab = "Log N",
layout = c(6,5), aspect = 1, as.table = TRUE, strip=FALSE,
panel=function(x,y){
panel.xyplot(x,y,pch=20,col="black", bg="transparent")
panel.fill(...