[S]: using symbols with legend

Nicole DePriest Demers (ntd@stat.ohio-state.edu)
Tue, 14 Jul 1998 13:20:41 -0400 (EDT)


Hello,

I want to use plotting characters in my legend instead of line types.
In particular, I want to include in my legend the solid square (pch=15)
and the solid circle (pch=16). I originally thought the following would
suffice but it doesn't:

legend(60,14,c("BD Group","BN Group"),pch=c(15,16),bty="n").

Further investigation indicates, as I interpret it, the pch= option
expects a character vector, each element a single character. I want to use
the symbol associated with the numbers 15 and 16.

Any suggestions?

Thanks,

Nicole
______________________________________________________________________________
Nicole Demers
Statistics Department
The Ohio State University
1958 Neil Ave., #404
Columbus, OH 43210, USA
ntd@stat.ohio-state.edu

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news