Re: [R] Define tick mark width

From: Sébastien <pomchip_at_free.fr>
Date: Sat, 16 Jun 2007 21:40:08 -0400

Not really, but it is a good way to get major and minor tick marks (thanks it might be useful later in my project). What I to modify is the width of the segments which correspond to the marks? I know that I can do that with a "lwd" command in axis()... but there might be an option to set directly in the plot commands without having to recreate the axis.

jim holtman a écrit :
> does this do what you want?
>
>
> plot(0, xlim=c(0,10), xaxt='n')
> axis(1, at=c(0,5,10))
> axis(1,at=0:10,tcl=-.2, labels=FALSE)
>
>
>
>
>
>
> On 6/14/07, *Sébastien* <pomchip_at_free.fr <mailto:pomchip_at_free.fr>> wrote:
>
> Hello,
>
> Is there a way to define the width of the axis tick marks on
> traditionnal plots? I did not find anything specific on this topic in
> the help and par(lwd=...) does not affect the tick marks. I guess that
> using axes=FALSE and recreating the axis with the axis() command could
> do the trick but I wonder if there is no easier way.
>
> Thanks in advance
>
> Sebastien
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch <mailto:R-help_at_stat.math.ethz.ch> mailing
> list
> https://stat.ethz.ch/mailman/listinfo/r-help
> <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.
>
>
>
>
> --
> Jim Holtman
> Cincinnati, OH
> +1 513 646 9390
>
> What is the problem you are trying to solve?

        [[alternative HTML version deleted]]



R-help_at_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 Sun 17 Jun 2007 - 01:45:47 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 Sun 17 Jun 2007 - 07:32:00 GMT.

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