Hi Rich Without an example it is hard to work out.
trellis.par.get(c(... is not correct, see names(trellis.par.get()) try strip = strip.custom(factor.levels = c(string vector of names for each panel), par.strip.text = list(cex = 0.8) ), Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Rich Shepard Sent: Thursday, 6 March 2014 03:29 To: r-help@r-project.org Subject: Re: [R] Specifying strip.names in Lattice plots [UPDATE] On Tue, 4 Mar 2014, Rich Shepard wrote: > What I want to learn how to do is either 1) put the ylab in the strip or > 2) eliminate the strip as redundant. The latest iteration, and the accompanying warning message: xyplot(cbind(dalles.disch.ts, dalles.temp.ts), main = "Columbia River @ The Dalles", xlab = "Date (Year.Month)", ylab = c("Temperature (C)","Discharge (cfs)"), strip = FALSE, strip.left = strip.custom(par.strip.text = trellis.par.get(c("Mean Temperature","Mean Discharge")))) Warning message: In if (name %in% names(lattice.theme[[.Device]])) lattice.theme[[.Device]][[name]] else NULL : the condition has length > 1 and only the first element will be used Please correct the syntax in the xyplot() function so the two strips have the desired text. Thanks, Rich ______________________________________________ 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. ______________________________________________ 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.