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