Plot a figure for IEEE Conference or Journals
Posted on November 11, 2022 in Research Tricks & Tools
Plot a figure for IEEE Conference or Journals
Please download IEEEfigure.m
from this link.
Here is a code that you can see how I use it.
Export figures with transprant background from matlab
If we directly copy the plot form the figure window of Matlab, it will be mate data with a transparent background. But the resolution of the figure is not high.
I personally prefer the following commands to export plots from matlab.
print('-f1', 'namg', '-dpng', '-r300')
copygraphics(gcf,'Resolution',300)
exportgraphics(gcf,'force_conv.png', 'Resolution',300)
However, these methods are not able to export png with a transparent background.
To solve this problme,
- Import into
photoshop
to remove the background. - Use
export_fig
library - Export as eps with a transparent background.