[R] putting legend outside ploting region
ales.ziberna at guest.arnes.si
Tue Oct 26 12:32:47 CEST 2004
Thank you for your answer!
I'm sorry that bother you with a question I could have found the answer to
in the help pages, but I have missed it.
----- Original Message -----
From: "Uwe Ligges" <ligges at statistik.uni-dortmund.de>
To: "Ales Ziberna" <ales.ziberna at guest.arnes.si>
Cc: <r-help at stat.math.ethz.ch>
Sent: Tuesday, October 26, 2004 11:43 AM
Subject: Re: [R] putting legend outside ploting region
Ales Ziberna wrote:
> I have created a plot and would like to put a legend in the top left
> (above and left of plotting region), but non of the functions can plot
> (I tried 'legend', 'text', 'points', 'lines', 'mtext', 'axes',...).
> I would be very grateful if someone could help me put something in that
> corrner, with any fuction.
> Ales Ziberna
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
See ?par, in particular its argument "xpd":
A logical value or NA. If FALSE, all plotting is clipped to the plot
region, if TRUE, all plotting is clipped to the figure region, and if
NA, all plotting is clipped to the device region.
More information about the R-help