Skip to content

Ordiplot Figure Legends

2 messages · Josh Stumpf, Gavin Simpson

#
On Tue, 2008-07-15 at 15:27 -0400, Josh Stumpf wrote:
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