Thank you Deepayan. This is exactly what I needed.

John



----- Original Message ----
From: Deepayan Sarkar <deepayan.sar...@gmail.com>
To: array chip <arrayprof...@yahoo.com>
Cc: r-help@r-project.org
Sent: Tue, September 14, 2010 4:52:29 AM
Subject: Re: [R] xyplot axis line width

On Tue, Sep 14, 2010 at 4:26 AM, array chip <arrayprof...@yahoo.com> wrote:
> Hi, another question: is there any argument that controls the line width of 
>axis
> box of xyplot()? I tried lwd=2 or lwd.axis=2 in xyplot() or within 
>scales=list()
> argument, without success.

xyplot(1:10 ~ 1:10, par.settings = list(axis.line = list(lwd = 2)))

If you do not want this to affect the tick marks as well, then you
additionally need

scales = list(lwd = 1)

-Deepayan

______________________________________________
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