1 | initial version |
a = [(x,x^2) for x in xrange(100)] img = list_plot(a) img.save("filename.svg")
I'm sure there are more elegant idioms and display options, but that will indeed save a scalable vector graphic.
2 | added semicolons, forgot the preformatted text wrapper |
a = [(x,x^2) for x in xrange(100)]
xrange(100)];
img = list_plot(a)
img.save("filename.svg")list_plot(a);
img.save("filename.svg");
I'm sure there are more elegant idioms and display options, but that will indeed save a scalable vector graphic.