Displaying an externally saved figure in live script
34 views (last 30 days)
I'm trying to display an externally generated figure in live script, using the openfig() function. When I do this, the figure does not display; all that displays is some output text listing some properties of the figure. Is there a way to display externally generated figures, .fig or otherwise, in live script?
Alex Zak on 11 Mar 2020
Currently openfig is not fully supported in the Live Editor. As a workaround you can do the following:
f = openfig('f.fig');
f2 = figure;
This should dispaly the contents of the saved figure in the Live Editor.