matlab how to save figure as vector code example Example: matlab how to save figure as vector exportgraphics(gcf,'test.eps','ContentType','vector')