Re: [R] putting text in the corner

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Fri 10 Feb 2006 - 05:05:37 EST

On 2/9/2006 11:18 AM, Thomas Steiner wrote:
> I want to write some text in a corner of my plot.
> Is it possible to get the xlim and ylim of an open window?
> Or is there anything similar like
> legend(x="bottomright", inset=0.01,legend=...)
> for
> text(x=1,y=2, "test")

par("usr")

gives you the limits.

Duncan Murdoch



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 Fri Feb 10 06:30:42 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:27 EST