In Matlab App designer eliminate the gray edge of an "Axes" component

Hi Community! For the "Axes" component in Matlab App designer, as
Is it possible to make the white area occupy the entire "Axes" component and eliminate the gray edge area? Seems adjusting the "position" parameter can't solve the problem.

 採用された回答

Simon Chan
Simon Chan 2022 年 10 月 9 日

0 投票

Set the figure color to white.
f = figure;
f.Color=[1 1 1]; % Set color to white

3 件のコメント

Bowei Li
Bowei Li 2022 年 10 月 9 日
Thanks Chan! Is there a way to implement these code to the "Axes" component in Matlab App designer?
As this figure is an "Axes" component in the App designer. The code creates it is locked:
So it seems I can't modify "f.Color" here.
And there's no options here to set the f.Color as well:
Simon Chan
Simon Chan 2022 年 10 月 10 日
Could you find something like the following regarding the uifigure appearance?
Bowei Li
Bowei Li 2022 年 10 月 10 日
I see, yes, thanks a lot and this does solved the problem!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Develop Apps Using App Designer についてさらに検索

製品

リリース

R2022a

質問済み:

2022 年 10 月 9 日

コメント済み:

2022 年 10 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by