Dear Marco, I was trying using lattice barchart() but your suggestion will do the trick. Many thanks Javier Dr. Javier Perez-Barberia Population and evolutionary ecologist The Macaulay Institute Craigiebuckler Aberdeen AB15 8QH Scotland, UK
Tel: +44(0)1224 395221 e-mail: j.perez-barbe...@macaulay.ac.uk http://www.macaulay.ac.uk http://www.macaulay.ac.uk/upland >>> Marco Barbà ra [via R]<ml-node+2223097-1140964419-73...@n4.nabble.com> 19-May-10 5:03 PM >>> Il giorno Wed, 19 May 2010 08:46:06 -0700 (PDT) Javier <[hidden email] ( /user/SendEmail.jtp?type=node&node=2223097&i=0 )> ha scritto: > > Dear users, > > Is there anyone how knows how to plot the sample size on top of the > bars of a barchart plot? Do you mean something like this? mp <- barplot( VADeaths[1,], ylim = c( 0 , 18 ) ) text( mp , VADeaths[1,] + 0.5 , paste( VADeaths[1,] , "ââ¬Â°" ) ) ______________________________________________ [hidden email] ( /user/SendEmail.jtp?type=node&node=2223097&i=1 ) mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. View message @ http://r.789695.n4.nabble.com/How-to-plot-the-sample-size-on-top-of-the-bars-of-a-barchart-plot-tp2223062p2223097.html To unsubscribe from How to plot the sample size on top of the bars of a barchart plot?, click here ( (link removed) = ). -- Please note that the views expressed in this e-mail are those of the sender and do not necessarily represent the views of the Macaulay Institute. This email and any attachments are confidential and are intended solely for the use of the recipient(s) to whom they are addressed. If you are not the intended recipient, you should not read, copy, disclose or rely on any information contained in this e-mail, and we would ask you to contact the sender immediately and delete the email from your system. Thank you. The Macaulay Land Use Research Institute is a company limited by guarantee, registered in Scotland under company number 16190 and a registered Scottish charity, number SC011922. Registered office Macaulay Drive, Craigiebuckler, Aberdeen, AB15 8QH. -- View this message in context: http://r.789695.n4.nabble.com/How-to-plot-the-sample-size-on-top-of-the-bars-of-a-barchart-plot-tp2223062p2223111.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.