From: Daniel S. <dan...@gm...> - 2009-03-03 02:50:13
|
hello, i'm using matplotlib on os x and am having issues with plots of large data sets. i have some plots which contain about ~10000 points and the pdf files generated bring preview.app and quicklook to their knees when they open the pdf files. here is a small file that reproduces my issues. at 1000 points it is snappy and at 10000 it is a pig. is there a setting to downsample or otherwise compress? best, drs import matplotlib.pyplot import scipy x = scipy.rand(10000) matplotlib.pyplot.plot(x) matplotlib.pyplot.savefig('rand.pdf') |