What do you mean by wrong font? isnt it the original font you see before exporting?! It exports the figure as the way you see on the screen. If you want another font you have to change it before using export_fig command.
This might not be a good question but if you change your display to portrait, is it then possible to save figures in landscape? I guess not since it is said that the figure is saved exactly like it is on the screen.
sounds useful but I couldnt use it.
please consider the fact that not everyone here is advanced in MATLAB. How should we pass the inputs to this widget inside our code?
what is 'parent'? how should the 'data' be defined?
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.