Problem when running the 'legend' command under Matlab 2009b
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
Walter Roberson
on 30 Aug 2016
Please show the output of
which -all legend
Answers (0)
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!