Why does my line plot in MATLAB show a color gradient of black, green, and red?
1 回表示 (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2016 年 4 月 12 日
編集済み: MathWorks Support Team
2016 年 4 月 15 日
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160987/image.png)
採用された回答
MathWorks Support Team
2016 年 4 月 15 日
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 件のコメント
Image Analyst
2016 年 4 月 14 日
How about making it easy for us by providing a link to the "recent 4380 driver"?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!