[R] Placing legends

Doug Bourne bournephysio at shaw.ca
Sun Oct 5 03:38:40 CEST 2003


I'm trying to automate making a bunch of figures and I need a way to 
automate legend position.  As I understand it the legend is placed based 
on coordinates.  I don't know before hand what the coordinates are going 
to be.  On one graph my y axis might go from -50 to -10.  On another it 
might go from 0 to 180.

Is there any way to query where the origin is?  Or is there another way 
to place the legend?

Thanks,
Doug Bourne
Graduate Student
University of British Columbia




More information about the R-help mailing list