Problem with legend command

조회 수: 3 (최근 30일)
Amin Damrah
Amin Damrah 2022년 11월 4일
댓글: Star Strider 2022년 11월 6일
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?

답변 (2개)

RITAM BASU
RITAM BASU 2022년 11월 4일
for turning on the box, try:
legend('boxon')
  댓글 수: 2
Amin Damrah
Amin Damrah 2022년 11월 5일
I tried but it doesn't work
Amin Damrah
Amin Damrah 2022년 11월 5일
this is my problem.

댓글을 달려면 로그인하십시오.


Star Strider
Star Strider 2022년 11월 4일
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
Amin Damrah
Amin Damrah 2022년 11월 6일
opengl('software')
with this, it is correct. Thank you.
Star Strider
Star Strider 2022년 11월 6일
That confirms that you still need to update the driver. Tha AMD software that I linked to makes that straightforward.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by