Re: [R] Force labelling of x-axis

From: Jim Lemon <bitwrit_at_ozemail.com.au>
Date: Mon 21 Mar 2005 - 16:23:00 EST

Bill Kranec wrote:
> Hi,
>
> I'm trying to do a box-whisker plot of two columns of a data frame, a
> list of category names in one column vs. some numerical values in the
> other. The plot itself works fine, but only a few points of the x-axis
> ( the category names ) are labelled. I think that this is because the
> category names are too long.
>
> Is there any way to force R to label each x-axis value, preferably at a
> 45-degree slant so that each one can be seen? I feel like this should be
> pretty easy to do, but I can't find anything obvious from the R-manual.
>
> Thanks for any help,
>
> Bill
>
You might find the "staxlab" function in the "plotrix" package helpful.

Jim



R-help@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 Received on Mon Mar 21 16:23:35 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:51 EST