I want to create high-quality figures ready to be submitted for publication. What is the best font size, type of file to be saved as(.fig, .eps, .png?) and generally the characteristics required for a top-quality figure?
Depends on the paper editing software you use.
If you use Latex or Overleaf, exporting to PDF is the easiest/simplest/smallest-file-size one while keeping image quality as high as possible (i.e. vector format). My typical workflow is
set(gca,'fontsize',..)
.set(gcf,'paperpositionmode','auto');
this is important! it makes your figure what-you-see-is-what-you-get, so you can adjust figure sizes relative to the font size.print -dpdf
to export to the figure.pdfcrop yourfigure.pdf
to remove the margins, pdfcrop is available on Linux/Mac, but also available on Windows. If you can't install pdfcrop, you can also use inkscape to fit plot to page.inkscape
and manually edit.print -dpng -r300 myfile.png
to create a png bitmap image directly. Exporting to pdf generates huge file sizes and slow rendering.If using older versions of MS Word, I had been exporting images to EPS and insert to keep the images in highest quality possible. However, since 2017, this feature was turned off
but one can still modify a registry key to turn it on.
Later MS Office accepts svg, which you can export from matlab.