Thursday, December 10, 2009

How to print nice figure on matlab

Here is an example that can print current figure to a eps file with DPI=300 .

figure;
print(gcf, '-depsc','-r300', figname);

"gcf" means the current figure. "-depsc" means save as eps color image. "-r300" means 300dpi, "figname" should be something like "name.eps"

1 comment:

Unknown said...

不客气。。。呵呵。。。