On Sep 5, 2013, at 2:54 AM, Daniel Hornung wrote:

On Wed, Sep 4, 2013 at 1:45 PM, Daniel Hornung
<daniel.horn...@ds.mpg.de>wrote:
Hello,

can it be that xyplot does not support the lwd argument?

The lattice plotting system uses the grid plotting engine and does accepts some base par-type arguments but not all. You may need to read more about lattice and grid:

?lattice
?trellis.par.set
require(grid)
?gpar

--
David.

At least here, the following still shows thin lines, as opposed to the
regular
plot command:

xyplot(Sepal.Length ~ Sepal.Width, data = iris, pch=4, lwd=4)

On Thursday, September 05, 2013 00:33:32 Bert Gunter wrote:
You should get no lines at all, as you have not specified that lines be
drawn. Use the "type" argument to do so.

xyplot(rnorm(5) ~1:5,pch=4)  ## points only
xyplot(rnorm(5) ~1:5,pch=4,type="b",lwd=4) ## points with thick lines

read ?panel.xyplot carefully (the default panel function for xyplot) for
details

Cheers,
Bert

Hello Bert,

no, maybe I expressed myself ambiguously: I was referring to the line
thickness of the symbols, not a line between symbols:

xyplot(rnorm(5) ~ 1:5, pch=4, lwd=4)
versus
plot(rnorm(5), 1:5, pch=4, lwd=4)

I would like the points (4("x") in this case) to have thicker lines.

Cheers,
Daniel


David Winsemius, MD
Alameda, CA, USA

______________________________________________
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