R-beta: legend

Jay King (jking@metisrv0.man-env.com)
Fri, 20 Feb 1998 10:48:00 +0000


From: "Jay King" <jking@metisrv0.man-env.com>
To: r-help@stat.math.ethz.ch
Date: Fri, 20 Feb 1998 10:48:00 +0000
Subject: R-beta: legend
Message-Id: <15472120204996@man-env.com>

Does the "legend" command work in the windows version of R? Here is 
the command that I'm using:

legend(1,1,legend=c("G1","G2","G3","G4","G5","G6"),pch=array(1:6,dim=c
(1,6)))

When I use this on my existing graph in a window I get a solid black 
box at the lower left. If I use this with the postscript driver my 
output file has neither a legend nor the black box.

Thanks

Jay King

---------------------------------------------------
Julius (Jay) King
Statistician
ManTech Environmental Technology, Inc.
2 Triangle Drive
Research Triangle Park, NC 27709
Phone: (919) 406-2199
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._