Save/export uifigure with panels as vector image format
56 views (last 30 days)
Is there a way to save/export uifigure with panels as vector image format? I am trying to output publication quality figures with multiple complex subplots, which is why I used the panel feature to group subplots together.
I am currently using 2019a.
Pratheek Punchathody on 26 Nov 2020
As per my understanding it is required to export the uifigure along with the panels in the vector format.
With R2020b MATLAB supports a function called “exportapp()” which can capture all graphical content is captured, including UI components.
Refer to the Documentation on export app.
As a work around with R2019a
“hgexport()” is used to write the figure to the EPS file which is in the vector format. Refer to the documentation on hgexport for more information.
“print()” is another alternative which save to specific file format. Refer to the documentation of print for more information.