Draw the measurement bars when changing z.