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? Much thanks in advance, David Paul
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
Thanks to: Corey Moffet, Iyue Sung, and Uwe Ligges for pointing out the legend( ) function. With appreciation, david paul -----Original Message----- From: Paul, David A Sent: Wednesday, May 07, 2003 11:11 AM To: 'r-help at stat.math.ethz.ch' Subject: [R] Plot labeling question 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? Much thanks in advance, David Paul ______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help