I created a figure that contains more than one dataset and a legend using the following code:
figureplot(sin(1:.01:2*pi),'-r')hold onplot(cos(1:.01:2*pi),'*b')legend('Sine', 'Cosine')
I saved the figure to a FIG-file, closed it, and then reopened it. I modified the figure using the following steps:
1. Select the "Edit Plot" option from the figure's toolbar
2. Click on one of the datasets to select it
3. Press the "Backspace" button to delete the dataset
4. Resave the figure
When I try to open the modified FIG-file an error dialog appears with the following error:
Error using ==> open invalid argument
Best Answer