Philip Rhoades
2002-Nov-27 14:38 UTC
[R] Leaving out graduations and numbers on y axis plot
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 Pricom Pty Limited (ACN 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia Mobile: +61:0411-185-652 Fax: +61:2:8923-5363 E-mail: pri at chu.com.au -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Marc Schwartz
2002-Nov-27 15:24 UTC
[R] Leaving out graduations and numbers on y axis plot
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 RhoadesYou 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:> > 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?plot(....., yaxt = "n") Uwe Ligges> I had a look in Peter's book and the help stuff but couldn't see > anything.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._