digitize points on a graph