Displaying 2 results from an estimated 2 matches for "drawkeyargs".
2006 Apr 06
2
key position in trellis plotting area
...","Compatible","Incompatible",""),cex=c(1.2,1,1,1,1,1
,0.2)),
text=list(lab=c(expression(R^2),as.character(rep(0.999,5)),""),cex=c(1.2,1,1
,1,1,1,0.2)))
keyArgs$between <- c(1,0,5)
keyArgs$background <- "white"
keyArgs$border <- TRUE
drawKeyArgs <- list(key=keyArgs,draw=FALSE)
keyArgs$draw <- FALSE
key <- do.call("draw.key",drawKeyArgs)
vp1<-viewport(x=1,y=1,height=unit(1,"grobheight",key),width=unit(1,"grobwidt
h",key),just=c("right","top"))
pushViewport(vp1)
grid.draw(key)...
2006 Apr 06
3
skipping rows in trellis key
Hi,
I would like to add a key to my trellis plot using draw.key. Here is what I
want:
3 x 6 key where the first row is a header.
row 1: empty, "S-R Mapping", "R^2"
row 2: pch=17, "Color", 0.951
row 2: pch=17, "Shape", 0.934
ect...
The problem is that I would like the cell in the upper left corner to be
empty (a placeholder) with the remaining