How can I export this as a vector image?
64 Ansichten (letzte 30 Tage)
normally I can easily export matlab figures (that do not have a gradient) to Powerpoint simply by copy-pasting it. I just need to set the "copy options" to "metafile". Upon pasting it in Powerpoint I just try to ungroup it, done.
However, for the attached figure this does not work. It stays a graid/pixel image in Powerpoint.
Any idea why?
waqas am 22 Jul. 2020
Use export_fig function. Check the link here.
I would suggest the add
before using export_fig function. This way you can avoid gray boundaries. May be storing in PNG would be good too if you just want to use the image in powerpoint. Otherwise, you can also save the images in eps format. Following line would do the job once you have added the functions from Add-ons.
export_fig name.png -m2.5