Hi. I got a problem, perhaps someone can help me....... every time, when I want to plot data, both axis are labeled by default like data[1,] and data[2,] how can I make a plot without ANY labeling? does anyone know that? thanks for helping Michael [[alternative HTML version deleted]]
> Hi. > I got a problem, perhaps someone can help me....... > > every time, when I want to plot data, both axis are labeled by defaultlike> > data[1,]> and> data[2,] > > how can I make a plot without ANY labeling? > > does anyone know that? > > thanks for helping > > Michael********************************** try this: plot ( a, b, xlab = "", ylab=""), on a windows platform it is good.
compare plot(rnorm(1:10),rnorm(1:10)) with plot(rnorm(1:10),rnorm(1:10),xlab="",ylab="") cheers
?plot On Fri, 1 Aug 2003, Michael Kirschbaum wrote:> Date: Fri, 1 Aug 2003 00:22:09 +0200 > From: Michael Kirschbaum <emkiba at gmx.de> > To: R-Help <r-help at stat.math.ethz.ch> > Subject: [R] how to make a plot without any axis-labeling > > Hi. > I got a problem, perhaps someone can help me....... > > every time, when I want to plot data, both axis are labeled by default like > > data[1,] > and > data[2,] > > how can I make a plot without ANY labeling? > > does anyone know that? > > thanks for helping > > Michael > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >-- Cheers, Kevin ------------------------------------------------------------------------------ "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." -- Charles Babbage (1791-1871) ---- From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki)
Michael Kirschbaum wrote:> Hi. > I got a problem, perhaps someone can help me....... > > every time, when I want to plot data, both axis are labeled by default like > > data[1,] > and > data[2,] > > how can I make a plot without ANY labeling? > > does anyone know that?You need to specify emply labels. plot(x,y,xlab="",ylab="") -- Ross Ihaka Email: ihaka at stat.auckland.ac.nz Department of Statistics Phone: (64-9) 373-7599 x 85054 University of Auckland Fax: (64-9) 373-7018 Private Bag 92019, Auckland New Zealand
Dear Michael, If you want no axes at all, try plot(1:10, 1:10, axes=FALSE) To omit ticks and tick labels try plot(1:10, 1:10, xaxt="n", yaxt="n") To omit axis labels try plot(1:10, 1:10, xlab="", ylab="") Regards, Andrew C. Ward CAPE Centre Department of Chemical Engineering The University of Queensland Brisbane Qld 4072 Australia andreww at cheque.uq.edu.au Quoting Michael Kirschbaum <emkiba at gmx.de>:> Hi. > I got a problem, perhaps someone can help me....... > > every time, when I want to plot data, both axis are > labeled by default like > > data[1,] > and > data[2,] > > how can I make a plot without ANY labeling? > > does anyone know that? > > thanks for helping > > Michael > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >