limit the number of measurements in a graph on 20