From: sanGuziy <guz...@gm...> - 2011-04-02 00:42:06
|
Dear list, I have a question concerning pcolor. I am trying to plot a huge 2d array 15000x10000. And in top I see that the program already uses 31Gb of ram and it grows. Is this expected behaviour? Why it needs so much memory? the sctipt is simple: import matplotlib import numpy as np import matplotlib.pyplot as plt from numpy.random import rand import mpl_toolkits.basemap as bm if __name__ == "__main__": print matplotlib.__version__ print matplotlib.__revision__ print matplotlib.__date__ print 'basemap' print bm.__version__ print 'numpy' print np.__version__ x = rand(15000,10000) #print x plt.pcolor(x) plt.savefig('test_pcolor.png', bbox_inches = 'tight') print "Hello World" matplotlib version is: 1.0.0 $Revision: 8503 $ $Date: 2010-07-06 08:56:31 -0500 (Tue, 06 Jul 2010) $ should I update? thank you for any help -- Oleksandr Huziy -- View this message in context: http://old.nabble.com/pcolor-tp31300362p31300362.html Sent from the matplotlib - users mailing list archive at Nabble.com. |