Re: [R] axis and tick widths decoupled (especially in rugs!)

From: Duncan Murdoch <>
Date: Mon, 05 May 2008 15:35:22 -0400

On 5/5/2008 3:02 PM, maiya wrote:
> Hi!
> (a complete newby, but will not give up easily!)
> I was wondering if there is any way to decouple the axis and tick mark
> widths? As I understand they are both controlled by the lwd setting, and
> cannot be controlled independently? For example I might want to create major
> and minor ticks, which I now know how to do by superimposing two axes with
> different at settings, but what if I also wanted the major ticks to be
> thicker? or a different colour?
> You might find this nitpicking, but I am particularly concerned about rug(),
> which passes to axis(), in that I cannot get a decent thick-lined rug,
> without the horizontal line also becoming equally thick.
> Is there any way to do this without having to resort to segments?

I don't think so, other than rewriting the internal axis code.

Duncan Murdoch mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 05 May 2008 - 19:54:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 05 May 2008 - 20:30:42 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive