Plot colors not showing up in Matlab R2016a Student Version

조회 수: 14 (최근 30일)
Tirth Patel
Tirth Patel 2016년 3월 8일
댓글: Rodrigo Rosalez 2021년 1월 15일
Hi,
I am using R2016a student version. I can make plots without any problems, but the colors don't show up. My legend has the colors that I want my lines to have, but all lines are the same color (dark red/brown). I can change the type of lines, for example dotted, dashed, etc., and it works fine. I can open the files in other computers just fine with the colors showing up correctly. I think it has to do with a missing file, but I am not sure which one. If anyone has ideas, please let me know.

답변 (1개)

Vineeth Kartha
Vineeth Kartha 2016년 3월 15일
편집: Walter Roberson 2016년 9월 6일
Hi,
Can you please try to create the plots by specifying the colors explicitly.
>>plot(x,y1,'red')
>>hold on
>>plot(x,y1,'green')
Please share if explicitly specifying colors gives the expected output.
Regards
Vineeth
  댓글 수: 3
Juan Sebastián Spinel Peñuela
I was experiencing the exact same issue, until I came upon your comment!
I didn't expect it was going to be that easy to fix.
Thanks! :)
Rodrigo Rosalez
Rodrigo Rosalez 2021년 1월 15일
Thank you, was habbing the same problem.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by