[R] problem with xaxt="n"

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Mar 3 13:16:06 CET 2000

On Fri, 3 Mar 2000, Emmanuel Paradis wrote:

> Under WinNT4.0sp5 using the binaries downloaded from CRAN (version 1.0.0),
> if I want to do a plot without the tick-marks and numbers on the x-axis,
> the following:
> > x <- rnorm(10)
> > y <- rnorm(10)
> > plot(x, y, xaxt="n")
> does not give what I expect, i.e. it gives the same than "plot(x, y)".
> However, the following works:
> > par(xaxt="n")
> > plot(x, y)
> (i.e. nothing but the "x" label on the x-axis). Note that with version
> 0.99.0 the first bit of code works fine. I have seen nothing related to a
> change in setting xaxt in the annoucement files. I do not have R installed
> on another OS down here, so I cannot say if it is OS-related or not.

Yes, and it does seem to be Windows-only.  There were some very late
changes in that area, but this is strange and we will take a look.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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