Azzera filtri
Azzera filtri

Problem with legend command

3 visualizzazioni (ultimi 30 giorni)
Amin Damrah
Amin Damrah il 4 Nov 2022
Commentato: Star Strider il 6 Nov 2022
I have a problem with the legend. When I use the legend command, you don't see the box and colored lines on the plot. You only see the writings. I can't fix it, does anyone know what I can do?

Risposte (2)

RITAM BASU
RITAM BASU il 4 Nov 2022
for turning on the box, try:
legend('boxon')
  2 Commenti
Amin Damrah
Amin Damrah il 5 Nov 2022
I tried but it doesn't work

Accedi per commentare.


Star Strider
Star Strider il 4 Nov 2022
This is a known problem with certain AMD graphics drivers, although it was fixed a while ago.
Go to the GeForce Experience website. It has a downloadable app that will automatically find your videocard and download the correct current driver for it.
  9 Commenti
Amin Damrah
Amin Damrah il 6 Nov 2022
opengl('software')
with this, it is correct. Thank you.
Star Strider
Star Strider il 6 Nov 2022
That confirms that you still need to update the driver. Tha AMD software that I linked to makes that straightforward.

Accedi per commentare.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by