lines and points on graph