Re: [R] Orientation of labels on axes

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Tue, 08 Jan 2008 19:44:09 +1100

mika03 wrote:
> http://www.nabble.com/file/p14664173/at-modality.png
>
>
> I created the above image with R and I have one problem left:
>
> Some of the labels of the axes do not show up, probably because there's not
> enough space.
>
>
> I use the following code to create the plot:
> modality <- read.table("results.table", header=TRUE, sep=",")
> color <- c("red3","green3","blue3","orange2","purple2","brown4")
> plot(modality, col=color)
>

>>From the manual I though one of the following might help:

>
>>plot(length, col=color, las=1)
>>plot(length, col=color, las=2)
>>plot(length, col=color, las=0)

>
>
> This is supposed to change the orientation of the axis lables, I guess. But
> it doesn't change the output a bit.
>
> Does anyone know what to do?
> (I am happy with almost any solution that makes the missing labels appear:
> smaller fonts, rotating the labels etc.)
>
Hi Michael,
If you're having trouble with labels fitting on an axis, look at the staxlab function in the plotrix package.

Jim



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 08 Jan 2008 - 08:44:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Jan 2008 - 09:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive