[R] labelling barplot
Ross Clement
R.P.Clement at westminster.ac.uk
Sat Nov 27 09:59:56 CET 2004
Hi. I'd like to produce a barplot where only the lowest value and the
highest value are labelled on the x-axis. E.g. I might have a list
of numbers and frequencies:
barplot( c( 2, 2, 0, 4, 2 ), names.arg=c( 1, 2, 3, 4, 5 ) )
where the data is a set of counts for some values between 1 and 5. I'd
like to have a barplot where only the extremes 1 and 5 are labelled.
How do I do this?
Thanks in anticipation,
Ross Clement
More information about the R-help
mailing list