[R] xyplot tick marks and line thickness

Dieter Menne dieter.menne at menne-biomed.de
Fri Aug 25 08:56:00 CEST 2006


Deepayan Sarkar <deepayan.sarkar <at> gmail.com> writes:

> Right. the grid call shouldn't be necessary, "axis.line" controls the
> panel borders. And tck can be a vector, to get rid of the ugly bumps
> on top:
> 
> xyplot(x ~ x | g, type = "l", lwd = lwd,
>        scales = list(tck = c(-1, 0)),
>        par.settings =
>        list(axis.line = list(lwd = lwd),
>             strip.border = list(lwd = lwd)))
> 

The tickmarks look strange for me (Windows, R 2.3.1, all packages updated today)

See http://www.menne-biomed.de/uni/gridit.png.

This was created on screen, saved as a bitmap, and 3x enlarged lower portion.

Dieter



More information about the R-help mailing list