필터 지우기
필터 지우기

Copying UIaxes into a figure with correct position

조회 수: 6 (최근 30일)
I have attached a picture which is a screenshot of a figure from matlab that is obtained by copying from UIaxes. So UIaxes position and size I have set it into something I want. And now when I tried to copy that into figure this is what I get which is wrong. How do I make it correct. Thank you.

채택된 답변

Govind Sankar Madhavan Pillai Ramachandran Nair
solved it:
newFigure = figure('visible','off');
copyobj(app.UIAxes,newFigure);
ax = gca;
ax.Position = [0.1300,0.1100,560,420];

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by