the legend is not working properly
2 次查看(过去 30 天)
显示 更早的评论
when I use the legend command for this simple example:
plot(1:100,sin(1:100));
legend('a');
I get this result:
:
0 个评论
采纳的回答
Star Strider
2022-8-14
My guess is that you have an AMD graphics card, and have not updated the graphics drivers in a while. (This sort of legend problem is known to be associated with that. I have not seen it otherwise.)
If you have Windows10/11 or Linux go to the AMD Drivers and Support page and download an install the Auto-Detect and Install for Windows® 10/11 or Linux Drivers, as appropriate. While you are ono that page, sign up for the newsletter as well.
0 个评论
更多回答(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!