Measurement of plant lengths