Il giorno sab, 27/11/2010 alle 00.35 +0100, Marius Hofert ha scritto:
> The reason why I would like to use trellis.device() within a function
> is that 
> the plot contains a panel.function which contains many calls to
> panel.xyplot() 
> and I do not want to write "col = 1" (e.g.) all the time... 

Why not to use a theme like

BW.theme <-
    list(strip.background = list(col = "gray90"),
         strip.shingle = list(col=c("gray75")),  
         layout.heights = list(strip = c(1,1)),  
         axis.text = list(cex = 0.8),            
         superpose.symbol=list(col=1, pch=20)
         )
xyplot(V1~V2, par.settings = BW.theme)

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to