[R] how to rotate barplot column names

Simon Blomberg Simon.Blomberg at anu.edu.au
Thu Jun 12 03:00:12 CEST 2003


Try barplot(..., las=2)

Cheers,

Simon.

Simon Blomberg, PhD
Depression & Anxiety Consumer Research Unit
Centre for Mental Health Research
Australian National University
http://www.anu.edu.au/cmhr/
Simon.Blomberg at anu.edu.au  +61 (2) 6125 3379


> -----Original Message-----
> From: Matthew Hobbs [mailto:mathob at gimr.garvan.unsw.edu.au]
> Sent: Thursday, 12 June 2003 9:44 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] how to rotate barplot column names 
> 
> 
> Hi,
> 
> When I use barplot()  with a names argument the names are 
> printed horizontally 
> (i.e.parallel to the X axis).  Is there some way to rotate 
> the names so they 
> are printed vertically?
> 
> Thanks
> 
> 
> -- 
> ----------------------------------------------------------------------
> Matthew Hobbs
> 
> Garvan Institute of Medical Research
> 384 Victoria St            Ph   : (02) 9295 8327
> Darlinghurst                
> http://www.garvan.org.au        email:  m.hobbs at garvan.org.au
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>




More information about the R-help mailing list