Re: [R] mtext: rotating text

From: Uwe Ligges <>
Date: Sat 15 Oct 2005 - 00:17:34 EST

Jonathan Dushoff wrote:

> Recently, I was trying to make an inward-facing label for a vertical
> axis on the right-hand side of a plot. The inward-facing label was
> required by a journal. I searched R-help, but the only solution I found
> was to use text, which requires fiddling with the x-coordinate for each
> plot. What would have been perfect is a way to rotate text in mtext.

Indeed, so we can expect a contribution?

> I had a similar problem trying to use mtext to put a vertical label on a
> vertical axis with horizontal tick labels.

plot(1:10, las=1)
mtext("Hello", 2)

or using par():

opar <- par(las=1)
mtext("Hello", 2)

Uwe Ligges

> Jonathan Dushoff
> ______________________________________________
> mailing list
> PLEASE do read the posting guide! mailing list PLEASE do read the posting guide! Received on Sat Oct 15 00:21:39 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:54:03 EST