Change eye diagram plot color into black on white
Mostrar comentarios más antiguos
Eye diagram in MATLAB 2020b was a blue on white background, and now for some reason after I upgrade to 2021a, the plot invert its color into yellow lines on black background. Is there a way to change it back?
Below I attach pictures to illustrate the difference.


1 comentario
Muhammad Afif Ramadhan
el 11 de Ag. de 2021
Respuestas (2)
Awais Saeed
el 9 de Ag. de 2021
Use
set(gca,'Color','white')
to change the background color after the plot command
Chunru
el 9 de Ag. de 2021
1 voto
get a handle of the object and there are color properties for you to change. You may also need to change the Children object color.
2 comentarios
Jerry Malone
el 9 de Sept. de 2022
So how do you do that?
The default colors make eyediagram unusable. I need to change the background from black to the usual figure background color, the plot lines from yellow to blue, the axes to black, the two subplot backgrounds to the usual backround color, turn the grids on, and clean up the titles.
It's not worth my time to figure out how to do all that, when I can just write my own eyediagram code.
That's the problem with the comms tools.
Chunru
el 9 de Sept. de 2022
Can you post your code?
Categorías
Más información sobre Installing Products en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!