Here is a better approach that will keep the axis ticks as well on the two axes.
## define a lattice axis function
axis.L -
function(side, ..., line.col)
{
if (side %in% c(bottom, left)) {
col - trellis.par.get(axis.text)$col
axis.default(side, ..., line.col = col)
Can anyone suggest an equivalent, for lattice graphs,
of the base graphics argument bty=l?
NB that I am leaving off the box around the strip,
with a strip function:
stripfun - function(which.given,which.panel,
factor.levels=as.expression(levlist), ...){
Hi John,
Here is an example with plot borders on the left and bottom only.
## hide the usual panel and strip borders by using transparent NA
sty - list()
sty$axis.line$col - NA
sty$strip.border$col - NA
sty$strip.background$col - NA
xyplot(11:14 ~ 1:4 | rep(c(A, B), 2),
3 matches
Mail list logo