[R] Plot labeling question

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed May 7 17:39:57 CEST 2003


Paul, David A wrote:
> I have an older Splus script that generated some 
> regression graphics for me.  In it, I used the commands
> 
> key(10,800,text="<blah1>",border=0)
> key(10,750,text="<blah2>", border=0, background = 9)
> text(locator(1),"95% Confidence Limits")
> locator(n=2,type="l")
> text(locator(1),"Model for Group 1")
> locator(n=2,type="l")
> 
> There is no "key" function available in R; is there an 
> equivalent that I can use?

See ?legend

Uwe Ligges




More information about the R-help mailing list