Publication quality images in Matlab
Matlab has some great plotting tools, but the output of export of ”Save As” rarely produces consistent and clean results. Enter export_fig. The best feature is its anti-aliasing that produces clean, crisp fonts. Just download the package and add
add_path('export_fig')
to your m file and you can use the function. I had the best luck (see example below) with the follow command:
export_fig('figures/updates/risk_over_size.png', '-png', '-nocrop');
