[R] line widths of plotting symbols in the lattice

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Jul 31 12:20:44 CEST 2007



Stephen Tucker wrote:
> Dear List,
> 
> Sorry, this is very simple but I can't seem to find any information regarding
> line widths of plotting symbols in the lattice package.
> 
> For instance, in traditional graphics:
> 
>> plot(1:10,lwd=3)
>> points(10:1,lwd=2,col=3)
> 
> 'lwd' allows control of plotting symbol line widths.


'lwd' is documented in ?gpar (the help page does not show up for me, 
I'll take a closer look why) and works for me:

xyplot(1:10 ~ 1:10, type = "l", lwd = 5)


Uwe Ligges



> I've tried looking through the documentation for xyplot, panel.points,
> trellis.par.set, and the R-help archives. Maybe it goes by another name?
> 
> Thanks in advance,
> 
> Stephen
> 
> ______________________________________________
> R-help at stat.math.ethz.ch 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.



More information about the R-help mailing list