Change eye diagram plot color into black on white

13 ビュー (過去 30 日間)
Muhammad Afif Ramadhan
Muhammad Afif Ramadhan 2021 年 8 月 9 日
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 件のコメント
Muhammad Afif Ramadhan
Muhammad Afif Ramadhan 2021 年 8 月 11 日
After a lot of tinkering, I found the best method to change it is to access the property inspector and click on the object you want to change the color. Thanks the answer everyone.

サインインしてコメントする。

回答 (2 件)

Awais Saeed
Awais Saeed 2021 年 8 月 9 日
Use
set(gca,'Color','white')
to change the background color after the plot command

Chunru
Chunru 2021 年 8 月 9 日
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.

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by