[R] is it possible to get the coordinate of mtext()?

David McPearson dmcp at webmail.co.za
Tue Mar 18 10:27:09 CET 2014


On Mon, 17 Mar 2014 15:18:50 -0700 Jinsong Zhao <jszhao at yeah.net> wrote

> Hi there,
> 
> I hope to rotate the Y label of axis(4) with -90 degree. I can typeset 
> the Y label using text() with srt = -90. However, I cannot get the 
> coordinate of the position that mtext() used.
> 
<...cut...>

locator(1)   # Works for me...
?locator



Cheers,
D.

____________________________________________________________
South Africas premier free email service - www.webmail.co.za 

Cotlands - Shaping tomorrows Heroes http://www.cotlands.org.za/




More information about the R-help mailing list