On Fri, 18 Oct 2013, S Ellison wrote:

Using trellis.par.set seems more successful than specifying par.settings
in the call, however much I'd prefer to avoid relying on globals. Example:

ss<-trellis.par.get("superpose.symbol")
ss$pch=rep(19,7)
ss$col=rainbow(7)
trellis.par.set(superpose.symbol=ss)

#Example from xyplot
dotplot(variety ~ yield | site, data = barley, groups = year,
        key = simpleKey(levels(barley$year), space = "right"),
        xlab = "Barley Yield (bushels/acre) ",
        aspect=0.5, layout = c(1,6), ylab=NULL)

  Thank you.

Rich

--
Richard B. Shepard, Ph.D.          |      Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

______________________________________________
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