Why does my line plot in MATLAB show a color gradient of black, green, and red?
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 12 Apr 2016
Modificato: MathWorks Support Team
il 15 Apr 2016
As seen in the attached image, I am trying to create a line plot with a particular color but it is displayed with a color gradient, predominantly of black, green, and red. This happens even if the default Color property is overridden. How can this be fixed?

Risposta accettata
MathWorks Support Team
il 15 Apr 2016
This behavior is a known issue with certain Intel drivers. It has been addressed in the recent 4380 driver. There are two workarounds:
1) Use the OpenGL hardware basic mode
opengl hardwarebasic
2) Disable the align vertex centers property of the line
h=line(1:10);
h.AlignVertexCenters='off';
1 Commento
Image Analyst
il 14 Apr 2016
How about making it easy for us by providing a link to the "recent 4380 driver"?
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Graphics Performance in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!