Dear Jonas Stein,

You may add a line defining a large margin to harbour the legend,
such as:

        par(mai=c(0.5, 0.5, 0.5, 1.8))   #  enlarged right margin
        plot(1:10)
        legend("right", legend=c("one", "two"), inset=-0.2, xpd=NA)


Kind regards,



Franklin Bretschneider
--
Dept Biologie
Kruytgebouw W711
Padualaan 8
3584 CH Utrecht
The Netherlands

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to