s-news
[Top] [All Lists]

[S] legend() question

To: s-news@wubios.wustl.edu
Subject: [S] legend() question
From: bpeterson@ccstat.mc.duke.edu
Date: Thu, 21 Oct 1999 14:32:21 EST5EDT4,M4.1.0,M10.5.0
Sender: owner-s-news@wubios.wustl.edu

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

<Prev in Thread] Current Thread [Next in Thread>
  • [S] legend() question, bpeterson <=