Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If I understood you right you just want to plot the data contained in your list pts.

This can for example be done with the python csv module:

plotlist=[(1,2),(3,4),(6,10)]
import csv
csvfile = open('/path/to/file/plotlist.csv', 'wb')
csvwriter = csv.writer(csvfile, delimiter=';')
for xy in plotlist:
    csvwriter.writerow([xy[0],xy[1]])
csvfile.close()

You can then open the csv file for example with open office calc...