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* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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 > > ______________________________________________ > [email protected] <mailto:[email protected]> 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]]
______________________________________________ [email protected] 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.
