I used your script quite a lot to make png's. For some reason I get different output ratios, depending on the x and ylabel? (Which is driving me crazy...) I am not sure what I am doing wrong. The effect does not appear with the Matlab print function... but the png is as expected not as nice. Anyone an idea?