how to analyze data on a line plot