[R] plotting time

Thomas Lumley tlumley at u.washington.edu
Thu Jul 5 20:09:15 CEST 2001


On Thu, 5 Jul 2001, Greg Trafton wrote:

> Hi, all.  I'm trying to create a plot that has a range of about an
> hour on the x axis, starting at about 10:15.
>
> I have a way I'm currently doing it but it's not working.  this is
> what I want on the x axis:

You can get whatever you want on the axis with the axis() command. Draw
the plot with the xaxt="n" option and then draw the axis with axis().

	-thomas

Thomas Lumley			Asst. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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