Problem when running the 'legend' command under Matlab 2009b
1 次查看(过去 30 天)
显示 更早的评论
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!