Analysis of vegetation patterns