From: John H. <jdh...@ac...> - 2005-08-24 13:25:40
|
>>>>> "m" == m aschwanden <m.a...@ri...> writes: m> All the rendered pngs have a size of 800x600 pixels!!! m> What the heck am I missing? Here the latest code: Not sure what you are doing wrong, but here's an example I just tested that created two PNGs with the indicated sizes in pixels (verified in the GIMP) from pylab import * fig = figure(figsize=(8,6)) plot([1,2,3]) savefig('test1.png', dpi=100) # 800 x 600 savefig('test2.png', dpi=200) #1600 x 1200 show() Perhaps you can adapt it to your code. Hope this helps, JDH |