Re: [R] xyplot axis line width

2010-09-14 Thread array chip
Thank you Deepayan. This is exactly what I needed.

John



- Original Message 
From: Deepayan Sarkar 
To: array chip 
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  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.


Re: [R] xyplot axis line width

2010-09-14 Thread Deepayan Sarkar
On Tue, Sep 14, 2010 at 4:26 AM, array chip  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.


Re: [R] xyplot axis line width

2010-09-13 Thread array chip
Thanks for the hint. But I want to change the line thickness, mgp() concerns 
the 
the spacing. Also I think par() doesn't have any effect on lattice plots.

It seems to be an easy thing to make axis line thicker, anyone has nay 
suggestions?

Thanks

John



- Original Message 
From: Daisy Englert Duursma 
To: array chip 
Cc: r-help@r-project.org
Sent: Mon, September 13, 2010 8:05:53 PM
Subject: Re: [R] xyplot axis line width

check out ?par for all the details on plotting

‘mgp’ The margin line (in ‘mex’ units) for the axis title,
        axis labels and axis line.  Note that ‘mgp[1]’ affects
        ‘title’ whereas ‘mgp[2:3]’ affect ‘axis’.  The
        default is ‘c(3, 1, 0)’.





On Tue, Sep 14, 2010 at 8:56 AM, array chip  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.
>
> Thanks
>
> John
>
> __
> 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.
>





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


Re: [R] xyplot axis line width

2010-09-13 Thread Daisy Englert Duursma
check out ?par for all the details on plotting

‘mgp’ The margin line (in ‘mex’ units) for the axis title,
 axis labels and axis line.  Note that ‘mgp[1]’ affects
 ‘title’ whereas ‘mgp[2:3]’ affect ‘axis’.  The
 default is ‘c(3, 1, 0)’.





On Tue, Sep 14, 2010 at 8:56 AM, array chip  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.
>
> Thanks
>
> John
>
> __
> 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.
>

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


[R] xyplot axis line width

2010-09-13 Thread array chip
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.

Thanks

John

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