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