Re: [R] How to remove x, y labels from a plot
try : plot(rnorm(20),rnorm(20),axes=F,xlab=,ylab=) Selon [EMAIL PROTECTED]: Hi there, I need to plot an illustrative figure without ticks, x, y labels in R. I managed to get the ticks removed, but had no luck with x, y labels. Any suggestions would be much appreciated. Jin Li [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] How to remove x, y labels from a plot
Hi Jin Li, does plot( 1:100, rnorm(100), ann=FALSE, xaxt=n, yaxt=n ) produce what you want? Arne On Tuesday 16 November 2004 13:06, [EMAIL PROTECTED] wrote: Hi there, I need to plot an illustrative figure without ticks, x, y labels in R. I managed to get the ticks removed, but had no luck with x, y labels. Any suggestions would be much appreciated. Jin Li [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Arne Henningsen Department of Agricultural Economics University of Kiel Olshausenstr. 40 D-24098 Kiel (Germany) Tel: +49-431-880 4445 Fax: +49-431-880 1397 [EMAIL PROTECTED] http://www.uni-kiel.de/agrarpol/ahenningsen/ __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
RE: [R] How to remove x, y labels from a plot
Hi Arne, It works. It produced what I wanted. y-rnorm(1000, 2, 0) plot(density(y), ylab=Abundance of species, xlab=Environmental gradient, main= , lty=2, col=4, xaxt=n, yaxt=n) Thanks, Arne. And also thanks to other responses. Regards, Jin -Original Message- From: Arne Henningsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 November 2004 10:33 P To: [EMAIL PROTECTED] Cc: Li, Jin (CSE, Atherton) Subject: Re: [R] How to remove x, y labels from a plot Hi Jin Li, does plot( 1:100, rnorm(100), ann=FALSE, xaxt=n, yaxt=n ) produce what you want? Arne On Tuesday 16 November 2004 13:06, [EMAIL PROTECTED] wrote: Hi there, I need to plot an illustrative figure without ticks, x, y labels in R. I managed to get the ticks removed, but had no luck with x, y labels. Any suggestions would be much appreciated. Jin Li [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Arne Henningsen Department of Agricultural Economics University of Kiel Olshausenstr. 40 D-24098 Kiel (Germany) Tel: +49-431-880 4445 Fax: +49-431-880 1397 [EMAIL PROTECTED] http://www.uni-kiel.de/agrarpol/ahenningsen/ __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html