I am trying to create a legend for a plot with
the following commands (this is a simplified version
of my real code):
label1 <- c("shortname", "a-much-longer-name")
out <- paste(label1, " N=100")
legend(locator(1), legend=out, lty=1:2).
This is what I get:
----- short name N=100
----- a-much-longer-name N=100
but I want to see a legend like this:
----- short name N=100
----- a-much-longer-name N=100
How do I do this?
Also, how do I get rid of the box around the
legend?
I appreciate this help so very much.
Bercedis Peterson
-----------------------------------------------------------------------
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
|