Re: [R] plotting on the figure margin

2008-09-16 Thread Yihui Xie
?par see the 'xpd' argument; e.g. you may use legend(..., xpd = NA) or use the 'lattice' package Regards, Yihui -- Yihui Xie <[EMAIL PROTECTED]> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.yihui.name School of Statistics, Room 1037, Mingde Main

[R] plotting on the figure margin

2008-09-16 Thread Paulo Barata
Dear R-list members, I am trying to put a legend just outside the plotting area of a graph. 1. Is there some way to plot symbols on the figure margin, in the same way as function "mtext" can write on the margin? 2. Is there some way to use the "legend" function (or some equivalent function) to