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 <jeaneid at chass.utoronto.ca>
Sent by: r-help-bounces at stat.math.ethz.ch
07/30/2004 02:21 PM
To: r-help at stat.math.ethz.ch
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
______________________________________________
R-help at stat.math.ethz.ch 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