Closed youngnhong66 closed 2 years ago
I cannot reproduce - the exported axes seems to have the correct aspect ratio:
figure; export_fig(subplot(132), 'test.png', '-transparent', '-nocrop', '-m3'); winopen test.png
If you see something different then please post a comment here with a reproducible code snippet that shows the problem, as well as information about your run environment (latest export_fig
version? which operating system? which Matlab release?).
I tried to export not a whole figure but only one of axes. and found that the exported one has wrong aspect ratio.
The command I used is: export_fig(subplot(132), sprintf('test1), '-transparent', '-nocrop', '-png', '-m3')