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