[R] boxplot: how to display x-labels vertically

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Oct 16 22:30:10 CEST 2005


On Sun, 9 Oct 2005, Steven T. wrote:

> I need to draw a boxplot for a dataset consisting about 60 groups, the
> problems is by default the x labels are drawn horizontally, so it is
> impossible to display the names of all 60 groups. However, if the labels are
> drawn vertically, it should be possible to display all names.
>
> How can this be done?

Please read An Introduction to R, section 12.4.  You are looking for 
parameter 'las'.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list