Plot colors not showing up in Matlab R2016a Student Version

14 visualizaciones (últimos 30 días)
Tirth Patel
Tirth Patel el 8 de Mzo. de 2016
Comentada: Rodrigo Rosalez el 15 de En. de 2021
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.

Respuestas (1)

Vineeth Kartha
Vineeth Kartha el 15 de Mzo. de 2016
Editada: Walter Roberson el 6 de Sept. de 2016
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 comentarios
Juan Sebastián Spinel Peñuela
Juan Sebastián Spinel Peñuela el 6 de Sept. de 2016
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 el 15 de En. de 2021
Thank you, was habbing the same problem.

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by