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.

 Accepted Answer

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

3 Comments

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:
Could you find something like the following regarding the uifigure appearance?
I see, yes, thanks a lot and this does solved the problem!

Sign in to comment.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Release

R2022a

Asked:

on 9 Oct 2022

Commented:

on 10 Oct 2022

Community Treasure Hunt

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

Start Hunting!