[R] Leaving out graduations and numbers on y axis plot

Marc Schwartz mschwartz at medanalytics.com
Wed Nov 27 16:24:01 CET 2002

owner-r-help at stat.math.ethz.ch wrote:
> Hi all,
> I want to use a fourth plot on a page as a "map" of how to interpret
> the previous three plots - so the x axes are all the same but I want
> the y axis on the fourth plot to have no graduations or numbers - is
> this possible?
> I had a look in Peter's book and the help stuff but couldn't see
> anything.
> Thanks,
> Phil.
> --
> Philip Rhoades

You can generally use the 'axes = FALSE' argument to the plotting
function to leave out both axis lines.  

If you only want to leave out one or the other use 'xaxt = "n"'  or
'yaxt = "n"' as an argument to the plotting function as appropriate.

Take a look at ?plot.default for information on the use of the 'axes'
argument or ?par for 'xaxt' and 'yaxt'.


Marc Schwartz

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