But when I want to load the figure, it will still be invisible.
I have to use openfig('test.fig','visible') to display the figure.
Is there any way to save a figure without drawing it on the screen
AND this figure could be opened as normal figure without setting the
Visible on?
Create the figure with visible 'on' on a part of the screen that is not
visible. Of course, you would still have to reposition the figure before
saving or when re-opening.
Or create it behind another figure and save.
Just random thoughts.
Jim
load -mat <figurefilename>.fig
You see all the handle graphic elements of the figure stored in a
structure. The hierarchy of the structure is like in the property
editor. I did not try, but probably you can look for 'Invisible' in
the structure, change it accordingly (or delete it, since 'Visible'
is default), and store the whole thing again.
Heinrich
It works!
How wonderful that one can correct the properties of
fig-files by using load -mat <figurefilename>.fig !
Yes, there is a filed named 'Visible' in the structure which has the
value 'off'.
Thanks Jim also, creating a figure is refused for my work.