[Rd] plot(x,y,axes=F) (PR#650)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Fri, 1 Sep 2000 08:10:34 +0200 (MET DST)

On Thu, 31 Aug 2000 kye@ams.sunysb.edu wrote:

> Full_Name: Kenny Ye
> Version: R-1.1.1
> OS: Solaris 2.6
> Submission from: (NULL) (
> when i use plot(x,y,axes=F), the axes and the box are still ploted.

Not in this example on my Solaris 2.6 R-1.1.1 system:

plot(1:10, 1:10, axes=FALSE)

Two possibilities spring to mind:

1) F is a variable that has a value interpreted as true.  (In R you
need to use FALSE to be safe.)

2) x is not a vector but a classed R object and you are picking up
a plot method that does not support axes=FALSE.

This shows the importance of the advice in the FAQ on bugs reporting:

`Please include an example that reproduces the problem, preferably the
simplest one you have found.'

and the lines around it.

Brian D. Ripley,                  ripley@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-devel 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-devel-request@stat.math.ethz.ch