Vegetation patterns along a rainfall gradient