plot xyz data


I am new to Matplotlib. I have my data organized in three columns: x,y,z. x and y represents the coordinates of a point and z is the elevation at that point. I want to create a chart that has on y axis the elevation and on x axis the distance between the coordinates of the points. The chart displays a line that passes all the points, and if is possible interpolate between the elevation points

Can somebody give me an example?

Thank you in advance,



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.