¡@

Home 

python Programming Glossary: sub_plt_num

How to speed up matplotlib when plotting and saving lots of figures?

http://stackoverflow.com/questions/11688318/how-to-speed-up-matplotlib-when-plotting-and-saving-lots-of-figures

as plt import time ... PLT_PAGE_NUM 39 # default is 39 SUB_PLT_NUM 20 # default is 20 for pp in xrange 0 PLT_PAGE_NUM plt.figure.. figsize 20 12 start_time time.clock for kk in xrange 0 SUB_PLT_NUM plt.subplot 5 4 kk 1 plt.plot np.arange 0 TIME_LENGTH xcor_real_arr.. as plt import time PLT_PAGE_NUM 39 # default is 39 SUB_PLT_NUM 20 # default is 20 TIME_LENGTH 1000 xcor_real_arr np.random.random..