Updated Matlab, figures generated from previous code have a black background.

5 ビュー (過去 30 日間)
Henk-Jan Ramaker
Henk-Jan Ramaker 2017 年 5 月 29 日
コメント済み: Henk-Jan Ramaker 2017 年 6 月 13 日
I have recently updated Matlab to the 2017 version. Now all my figures (using older M-code) have a black background. I remember this behavior from previous updates. How can I adjust for this unwanted settings?

回答 (1 件)

Steven Lord
Steven Lord 2017 年 6 月 13 日
My suspicion is that you called whitebg or colordef and that toggled the background colors for your figures. Do you call one of those functions in your startup.m file? If not, did you change the default property value for the figure background color like in the "Specify Default Values" and "Where in Hierarchy to Define Default" examples on that documentation page?
  1 件のコメント
Henk-Jan Ramaker
Henk-Jan Ramaker 2017 年 6 月 13 日
Hello Steven,
Currenlty, I don't make use of a startup.m file. If I create a figure, it has a background color that is [0.94 0.94 0.94] which is the default value. When I plot something in this figure, it becomes completely black.

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

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by