If code is 'plot(w,'-o')' like this, I can see the legend and line type (2,3,4)
but code is 'plot(w,'-')' like this, I can't see the line type(1).
How can I setting for seeing legend(line type and Box line)?
please help me.

2 Comments

What is the exact code that can be used to reproduce this behavior? And what exact release are you using?
I'm using R2020b. And I solved the problem now. The problem was made by graphic card. Thank you for your answer.

Sign in to comment.

 Accepted Answer

Unless you specifically used the approach in Remove Legend Background to remove the box, you are encountering a problem with certain AMD graphics drivers. A temporary fix is:
opengl software
See opengl for details.

2 Comments

지안 양
지안 양 on 17 Dec 2020
Edited: 지안 양 on 17 Dec 2020
Thank you. I checked my graphic card and solved the problem. Really Thank you
As always, my pleasure!
(I had the same problem with my laptop and desktop.)

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!