I'm trying to graph a set of data pairs with a line joining points in the order of the x values. It's a stream longitudinal profile, with distance as the x value and elevation as the y value. I want a line joining the data points in the order of the x values, which increase from one value to the next. But the lines that show up jump all over the place, between points that aren't in sequence, and I can't seem to find a way to fix it. I've tried graphing it as a scatter plot and then adding a line, and as a scatter plot with a line, but neither one works.
Bookmarks