How to export .fig file automatically into another format without being pixelated?
12 views (last 30 days)
Show older comments
I have 2D .fig files with various variables containing various forms of data. I'm trying to make these figures available to people without MATLAB. The caveat is that the figures can't be just an "overview" of the overall figure. The user needs to have the capability of zooming close to certain scopes of the figure without having 'pixelation' or the lines getting bigger. It needs to be "scalable"
What I'm looking for:
1) A way to automatically export .fig files whether that is hard code or deploying the files to another format.
2) Needs to be scalable in another format. For example: If the .fig file is exported to a format such as pdf, jpeg, png, .svg, .eps, it will not scale with the figure.
Any help would be appreciated! Can't seem to find an answer to this.
0 Comments
Answers (2)
Walter Roberson
on 6 Oct 2016
There are options involving Flash; see http://stackoverflow.com/questions/17251230/dynamic-charts-or-graphs-in-pdf. I do not know anything about the process of convering fig into something that could be used with Flash though.
The U3D (Universal 3D) extension can be used for 3D models; see http://www.pdf3d.com/u3d/ and https://www.mathworks.com/matlabcentral/fileexchange/37640-export-figure-to-3d-interactive-pdf and https://www.mathworks.com/matlabcentral/fileexchange/31413-generate-u3d-files-from-stl-models-for-making-multilayer-3d-pdf-figures and https://www.mathworks.com/matlabcentral/fileexchange/27245-generate-vertices--faces-and-color-for-u3d-format and https://www.mathworks.com/matlabcentral/fileexchange/25383-matlab-mesh-to-pdf-with-3d-interactive-object and http://www.mathworks.com/matlabcentral/fileexchange/27333-create-3d-interactive-html-file-from-matlab-surface and probably others.
You did specifically indicate 2D not 3D, but perhaps for your purposes the thing to do would be to give a thin 3D component.
.svd format is about the only available vector format; the File Exchange contribution export_fig can help creating svd
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!