[R] NMDS ordination

Gavin Simpson gavin.simpson at ucl.ac.uk
Tue Feb 23 00:52:58 CET 2010


On Sat, 2010-02-13 at 11:33 -0800, Aisyah wrote:
> Hi
> 
> Im currently trying to plot my NMDS data together with fitted variables
> (envfit funct) on an ordination plot. The plot function shows two
> displays="sites" and "sp". I was wondering how to plot it so that the sites
> come up as different points for different sites but the species come up as
> actual names? It looks a little busy at the moment with everything in.

set type = "n" to suppress all plotting, then plot the two sets of
"scores" separately using points() or text() methods as appropriate. You
can then control exactly how the plot looks. Or plot only one set of
scores with the initial plot call and follow it up with a points() or
text() call for the sites or species as required.

Not sure what you mean by different points for different sites? How
different do you want the plotting character?

HTH

G

> 
> Sya

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the R-help mailing list