From: Adaikalavan Ramasamy (ramasamy@stats.ox.ac.uk)
Date: Sun 14 Jul 2002 - 00:53:54 EST
Message-id: <006001c22a7d$62f61c10$a81401a3@stats.ox.ac.uk>
If v _ c( 0, 10, 13, 179)
Try mtext( | , side=1, at=v , line= -0.5, cex=0.5 ) if you want tick marks
on the x-axis
the line argument usually means how far away from the axis you want the
marks. negative means inwards, you may have to experiment a bit to get it on
the axis as you wish.
cex=0.5 just controls the font size.
There are tick mark options, together with grid options but I find mtext
quick and easy.
Perhaps some members know a more efficient way.
----- Original Message -----
From: "Francisco J Molina" <FJMolina@lbl.gov>
To: "r-help" <r-help@stat.math.ethz.ch>
Sent: Saturday, July 13, 2002 2:15 AM
Subject: [R] plotting
> I am plotting a function.
>
> Does anyone know how I can plot the graph with the ticks in a numerical
> vector v I would provide to the plotting function?
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-
> r-help mailing list -- Read
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Tue 01 Jun 2004 - 09:30:59 EST