[R] plotting
Adaikalavan Ramasamy
ramasamy at stats.ox.ac.uk
Sat Jul 13 16:53:54 CEST 2002
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 at lbl.gov>
To: "r-help" <r-help at 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 at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list