[R] line widths of plotting symbols in the lattice

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jul 31 13:16:13 CEST 2007


On Tue, 31 Jul 2007, Uwe Ligges wrote:

>
>
> 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)

lattice imports grid, but you will need library(grid) to see the help 
pages.  The link to gpar on ?xyplot should work (and does for me).

>
>
> 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.
>
> ______________________________________________
> 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.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list