Adding par.settings = list(grid.pars = list(lwd = 3))
to my code which uses simpleKey gives exactly what I want. However, if I use auto.key, I lose all the formatting and get default colors and symbols. I am indebted to Deepayan for once again providing the key (pun intended) to a solution. My figure is a superposed dotplot similar to the barley example. I like to vary the symbols even if I use color as an aid to those with color vision deficiencies and choose my colors with color vision deficiency in mind. Naomi Deepayan Sarkar wrote: > On Mon, Apr 13, 2009 at 9:37 AM, Naomi B. Robbins > <nbrgra...@optonline.net> wrote: > >> Now that I have the markers the weight I want using lex, I'm having trouble >> making the key >> match the markers. Any suggestions? BTW, I'm using R2.8.1 with Windows >> Vista. >> > > There's no real solution, but for some reason, the following seems to work: > > xyplot(1:10 ~ 1:10, groups = gl(3, 1), auto.key = TRUE, lex = 3, > par.settings = list(grid.pars = list(lwd = 3))) > > -Deepayan > > > / <http://www.nbr-graphs.com/bookframe.html>/ [[alternative HTML version deleted]] ______________________________________________ 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.