[R] legend outside axes of image or other plot

Richard Condit condit at ctfs.si.edu
Wed Sep 11 18:34:42 CEST 2002


Thanks for a number of answers on how to place a legend outside a plot. 
There were several recommending using layout() for a plot and a separate 
legend. I will file these away for future reference.

The easy answer which works great is par(xpd=T).

Rick


Richard Condit
Smithsonian Tropical Research Institute
Unit 0948
APO AA 34002-0948

condit at ctfs.si.edu
conditctfs at yahoo.com

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list