[R] barplot names.arg

Marc Schwartz (via MN) mschwartz at mn.rr.com
Mon Mar 6 16:57:26 CET 2006

On Mon, 2006-03-06 at 15:40 +0100, Roland Kaiser wrote:
> How can i set a rotation for the names.arg in barplot?

See R FAQ 7.27 How can I create rotated axis labels?:


That provides the basic concept, which is easy to use with barplot()
along with knowing that barplot() returns the bar midpoints. See the
Value section of ?barplot.


Marc Schwartz

More information about the R-help mailing list