Color distortion in drawing with plot
3 次查看(过去 30 天)
显示 更早的评论
In a Linux system, the version of MATLAB I use is 2015b. The pictures drawn with plot seem to have some wrong colors. I don't know why.
For simplicity, I used the pot function to compare with the MATLAB of the window system. As shown in the figure below, I used the plot (1:100, 'R') function to display a red straight line. After the image displayed in the Linux environment is enlarged, it is obvious that the color is distorted, the image seems to be rendered, and there are some stains around the line。
Thank you very much for reading my questions and looking forward to your suggestions
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/892320/image.bmp)
0 个评论
回答(1 个)
Image Analyst
2022-2-12
Looks like a renderer problem. I suggest you try different renderers. But a better suggestion would be to make that 7 year old dinosaur go extinct and upgrade to the latest version.
What does this say?
plot(1:10, 'r-');
ax = gca;
info = rendererinfo(ax)
opengl info
9 个评论
Image Analyst
2022-2-14
Well I can't see it but maybe if you zoom way in you can. It could come down to your graphics card adapters. Try updating your drivers.
另请参阅
类别
在 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!