Have a look at
?par
You need to have par(xpd = TRUE) and then use par("usr") to get the
coordinates for the edges of the plot. Also make sure you have enough
space around the plot to put the legend. For that, have a look at par(oma)
or par(mar) etc.
HTH.
Partha
Jean Eid <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
07/30/2004 02:21 PM
To: [EMAIL PROTECTED]
cc:
Subject: [R] legend under plot region?
I am trying to put legends underneath the plot (in the outer margins). Is
there an easy way to do this. I have been tinkering with split..screen but
I could not make it work.
Thank in advance
Jean
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html