[R] Plotting legend outside of plot region

Aleksey Naumov naumov at acsu.buffalo.edu
Wed May 10 00:57:00 CEST 2000


Dear R users,

I am wondering how I could put a legend outside of the plot region of
the corresponding
plot (so that it does not interfere with data points). It seems legends
are positioned in user
coordinates which are set up by the last high-level plot command. Not
only is it inconvenient,
but also a legend can't be plotted outside of plot region...

Do I have to set up a dedicated figure for a legend in this case (and
partition page with layout())
or is there an easier way?

Many thanks,

Aleksey

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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