Ecological gradients and vegetation