[R] Changing the direction of axis labels on a plot

David Winsemius dwinsemius at comcast.net
Thu Feb 3 20:54:57 CET 2011


On Feb 3, 2011, at 1:16 PM, Longe wrote:

> Dear list,
>
> Plots generated with the plot command have labels on the vertical y  
> axis rotated counterclockwise.  How do I specify that they should be  
> positioned horizontally (I mean each label should read from left to  
> right)?

?par

The las argument. but my memory is that it applies to both x and y, so  
you may need to suppress the x with xaxt="n" and then draw it   
separately with axis().

>
> Thank you.
> L.
>
> ______________________________________________
> 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.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list