Skip to content

Leaving out graduations and numbers on y axis plot

3 messages · Philip Rhoades, Marc Schwartz, Uwe Ligges

#
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.
#
owner-r-help at stat.math.ethz.ch wrote:
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'.

HTH,

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Philip Rhoades wrote:
plot(....., yaxt = "n") 

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._