Re: [R] barplots - text direction

2005-08-24 Thread Patrick Connolly
On Wed, 24-Aug-2005 at 01:54PM +1200, David Scott wrote: | On Wed, 24 Aug 2005, Murray Pung wrote: | | If the variable names are too long to allow room for each to be displayed on a barplot, how can the direction of the text be changed? | | a -

Re: [R] barplots - text direction

2005-08-23 Thread Simon Blomberg
See las under ?par. You can often pass par parameters to higher-level graphics functions, so barplot(h, las=2) (for example) works. HTH, Simon. At 11:27 AM 24/08/2005, Murray Pung wrote: If the variable names are too long to allow room for each to be displayed on a barplot, how can the

Re: [R] barplots - text direction

2005-08-23 Thread David Scott
On Wed, 24 Aug 2005, Murray Pung wrote: If the variable names are too long to allow room for each to be displayed on a barplot, how can the direction of the text be changed? a - cbind(2.4,2.4,2.5,2.6,2.6,2.6,2.6,2.6,2.9,2.9,2.9) b - cbind(2.3,2.5,2.4,2.2,3.2,2.4,2.9,2.6,2.9,3.0,2.8) h -