arnold: The goal of export_fig is to export what is on screen. By all means write a script that makes your figure the right size, have the correct line widths, fonts, etc., then calls export_fig with the correct resolution. Or use one of the several submissions that already do this.
10 May 2013
Exports figures nicely to a number of vector & bitmap formats.
I've got another proposition: rescale figure
To make 'export_fig' even more useful for publications it'd be awesome if you added the possibility to rescale the figure to a certain size.
export_fig 'test.png' -w5 -h4 -r300
This would set the width to 5" and the height to 4" and then export at 300dpi.
For us non-americans it'd be great if you added size in metric units [cm] as well.
export_fig 'test.png' -wm5 -hm4 -r300
would then set the width to 5cm etc.