[R] behavior of xaxt = "n" with POSIXct dates

Jim_Garrett@bd.com Jim_Garrett at bd.com
Fri Sep 21 16:29:54 CEST 2001


Prof. Ripley has provided very helpful information regarding X-axis
labeling with POSIXct-class dates.  Now I've run into another bit of
problematic behavior.  I'm running R 1.3.0 on Windows NT 4.0.

When I create a plot with the optional argument xaxt = "n", and the X axis
is generated from dates of class POSIXct,  the X axis is plotted.
Obviously, I'd like to prevent the X axis from being plotted so that I can
create a tailored X axis for plotting.

I have a work-around for the moment:  plot without any axes, then add each
axis with a separate "axis" statement.  But perhaps there is a way to get
the desired behavior in the first place?

Incidentally, I can't check documentation for R 1.3.1 because, due to my
company's slow and extremely conservative response to the Nimda worm, I
can't access the web (I now realize how much I use it!).  Apologies in
advance if the latest R version has already handled this.

Jim Garrett
Becton Dickinson
Baltimore, Maryland, USA


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