display difference between Matlab plot and Matlab App-Designer
古いコメントを表示
I tried to implement the plotting function to a App-Designer, but I found that the plot display is slightly different:
the first figure below is plot in Maltab using regular functions. the second is what is shown in the App-Designer. the difference is the back ground color not consistently white. I tried to set the background color in App-designer to 'w' but this is what is has. how to handle the rest of it?


Thanks!
Yu
採用された回答
その他の回答 (1 件)
Yu Li
2018 年 12 月 8 日
0 投票
4 件のコメント
Cris LaPierre
2018 年 12 月 8 日
編集済み: Cris LaPierre
2018 年 12 月 8 日
You are setting the box color with that command.
Again, to set the background color in app designer, select the axes in Design View and then, in Axes properties > Color and Transparency Maps, locate the setting for Background Color and set it to what you want it to be (white?).
Yu Li
2018 年 12 月 8 日
Cris LaPierre
2018 年 12 月 9 日
It looks like we have different versions of MATLAB. I am runing 2018b.
You could try to set it programmatically:
app.UIAxes.BackgroundColor = 'w';
Here's what it looks like for me.

Yu Li
2018 年 12 月 9 日
カテゴリ
ヘルプ センター および File Exchange で Desktop についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




