Problem when running the 'legend' command under Matlab 2009b
1 view (last 30 days)
Show older comments
Hi, I am running Matlab 2009b. Since a couple of weeks the legend command does not work anymore, i.e. I do not get any error. However, after having inserted the command legend, the plotted line disappears. For example: x=linspace(-5,5,50); y = sin(x); plot(x,y) works, but after having executed legend('a') the plotted line disappears. Moreover, I cannot plot anything else on the figure until I make a clf or close the figure.
1 Comment
Answers (0)
See Also
Categories
Find more on Legend in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!