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:ahenningsen at email.uni-kiel.de] Sent: Tuesday, 16 November 2004 10:33 P To: r-help at stat.math.ethz.ch 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, Jin.Li at csiro.au 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]]
______________________________________________ R-help at stat.math.ethz.ch 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 ahenningsen at agric-econ.uni-kiel.de http://www.uni-kiel.de/agrarpol/ahenningsen/