the legend is not working properly

1 Ansicht (letzte 30 Tage)
Ahmad Moustafa
Ahmad Moustafa am 14 Aug. 2022
Beantwortet: Star Strider am 14 Aug. 2022
when I use the legend command for this simple example:
plot(1:100,sin(1:100));
legend('a');
I get this result:
:

Akzeptierte Antwort

Star Strider
Star Strider am 14 Aug. 2022
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.

Weitere Antworten (0)

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by