Check out example codes for "matlab how to save figure as vector". It will help you in understanding the concepts better.

Code Example 1

exportgraphics(gcf,'test.eps','ContentType','vector')

Learn ReactJs, React Native from akashmittal.com