[R] Flipping axis 1 in CCA plot - vegan

Jari Oksanen jari.oksanen at oulu.fi
Thu Feb 17 08:53:59 CET 2011


esgarbanzo <jcram <at> uw.edu> writes:

> 
> 
> Hello,
> I've successfully run my CCA and the ordination is not displayed quite
> right. Is it possible to flip the x-axis (ie., make it a mirror image of
> itself)?
> 
Howdy,

I don't know wha tyou mean when you say that the ordination is not displayed
"right". Howeveer, you can flip an axis by setting its limits in xlim or ylim.
First axis is flipped by: 

m <- cca(dune)
plot(m, xlim = c(2, -3))

Cheers, Jari Oksanen



More information about the R-help mailing list