[R] Key() and par(mfrow)

From: paul king <kingroi_at_hotmail.com>
Date: Wed 30 Aug 2006 - 05:42:25 EST

Hi Folks,  

I want to use key() to position the legend on top of the page in the following example. Prefer not to use locator()> par(mfrow = c(2,2))> plot(1:4, title="Plot Number1")> plot(rnorm(10), title="Plot Number2")> plot(1:10, title="Plot Number3")> key(x,y, text=list(c("Alpha","Beta")), text=list(c(1,2)))> > > x,y should indicate the position of the legend which is top left of the > > page. The lists here are oversimplified but we have to use key().> > > > Thank you for your help!> > > >

Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today!

        [[alternative HTML version deleted]]

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 and provide commented, minimal, self-contained, reproducible code. Received on Wed Aug 30 05:47:41 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 30 Aug 2006 - 06:26:03 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.