Why is my default plot() showing up with gradient colors on the lines?

조회 수: 1 (최근 30일)
I am running the plot() example directly from the matlab documentation, but my lines are showing up with gradient colors on them, instead of solid colors. Is there a default setting that I accidentally changed to make this happen?
x = 0:pi/100:2*pi; y = sin(x); figure plot(x,y)

채택된 답변

Mike Garrity
Mike Garrity 2016년 4월 19일
That looks a lot like this issue. I think that was caused by a particular Windows driver for an Intel GPU. I don't remember the driver version number, but is this your configuration? If so, I would try one of the workarounds in that thread.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by