Problem with legend command

6 ビュー (過去 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 Center および File ExchangeGraphics Objects についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by