[R-sig-eco] Ordiplot Figure Legends

Gavin Simpson gavin.simpson at ucl.ac.uk
Tue Jul 15 22:19:11 CEST 2008


On Tue, 2008-07-15 at 15:27 -0400, Josh Stumpf wrote:
> I have been searching Manual pages for hours and am obviously looking in the
> wrong places. Can anyone direct me to instructions relating to adding
> legends to ordiplot objects in vegan?

ordiplot objects/plots are normal R plots. So just use legend() with
appropriate x,y coordinates:

example(plot.cca)
legend("bottomleft", legend = c("Group 1","Group 2"), pch = 1:2,
col = c("red","blue"))

Does this suffice?

G

> 
> Joshua Stumpf
> 
> Eastern Michigan University
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology



More information about the R-sig-ecology mailing list