[R] barplot names.arg

Dan Bolser dmb at mrc-dunn.cam.ac.uk
Mon Mar 6 18:32:41 CET 2006


Marc Schwartz (via MN) wrote:
> 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?:
> 
> http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f
> 

Interesting

> 
> 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.
> 
> HTH,
> 
> Marc Schwartz
> 
> ______________________________________________
> 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




More information about the R-help mailing list