[R] mtext: rotating text

From: Jonathan Dushoff <dushoff_at_eno.princeton.edu>
Date: Sat 15 Oct 2005 - 00:03:24 EST

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.

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

Jonathan Dushoff



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 Sat Oct 15 00:11:28 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:45 EST