Find the slope from a graph