Re: [R] xyplot tick marks and line thickness

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Fri 25 Aug 2006 - 03:02:00 EST

Look through the output of trellis.par.get() for the right parameters or when all else fails use grid (which we use below for the box around the panel since I could not locate the parameter):

library(lattice)
library(grid)
x <- 1:12
g <- gl(3,4)
lwd <- 3
xyplot(x ~ x | g, type = "l", lwd = lwd,

	scales = list(tck = -1, lwd = lwd),
	par.settings = list(add.text = list(lwd = lwd),
		strip.border = list(lwd = lwd)),
	panel = function(...) {
		grid.rect(gp = gpar(lwd = lwd))
		panel.xyplot(...)
	}

)

On 8/24/06, Piet Bell <pj.bell@yahoo.co.uk> wrote:
> Hello,
> A made a xyplot using the lattice library in R (latest version).
>
> The publisher of our paper has requested:
>
> 1. all tick marks should point inwards instead of outwards.
>
> 2. All lines should be thicker (lines, axes, boxes, etc. Everything). Lines is easy...I used: lwd=1.5 but what about the lines of the axes, and the lines that build up the plot itself?....?
>
> Any suggestions?
>
> Kind regards,
>
> Piet Bell
>
>
> ---------------------------------
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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@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. Received on Fri Aug 25 03:35:45 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 25 Aug 2006 - 06:23:01 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.