2021年7月10日 星期六

make a nice-looking figure in Matlab for IEEE papers

 make a nice-looking figure in Matlab for IEEE papers

I constantly am asked how to make a good, nice-looking figure in Matlab for IEEE papers. I have my personal taste and own receipt. It looks quite decent from my point of view. FYI. if you have another taste, feel free to share with me.


Here is the receipt:

  • Import your data of course, e.g. variables x and y
  • create a new figure
    • fig=figure(1) 
      • Key point is that DO NOT modify the window size. 
      • Keep the size as default
  • Plot data
    • plot(x,y,'b-','LineWidth',2)
      • Use Linewidth to be 2
      • Linestyle is up to you
  • Export the figure in EPS format which is fully supported by LaTeX
    • you can use "save as.." in the menu of the figure 
    • or use command saveas(fig,'fig.eps')


Simple as that.  

Enjoy plotting figures.