MATLAB: Does the legend in the figure disappear when I use HGSAVE and HGLOAD to save and reload the figure in MATLAB 7.0 (R14)

boxboxofffighgloadhgsavelegendMATLABsave

I type the following commands at the MATLAB command prompt:
plot([0 1],[5 1]);
legend('Test Plot')
legend boxoff
hgsave('test')
hgload('test')
The loaded figure no longer contains the legend that was in the original figure.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
We have verified that there is a bug in MATLAB 7.0 (R14) in the way that the HGSAVE and HGLOAD functions handle legends.
There are no known workarounds.