필터 지우기
필터 지우기

how to set boundaries imshow

조회 수: 2 (최근 30일)
Pavel Kuzmitsky
Pavel Kuzmitsky 2022년 11월 6일
답변: Image Analyst 2022년 11월 7일
how to set boundaries imshow, how to set a position and outerposition?
for example, I want to stretch the image over the entire space, how do I do this?

채택된 답변

Image Analyst
Image Analyst 2022년 11월 7일
You can set the .Position property of the axes to enlarge it so that it fills the entire figure window, or close to it.
ax = gca;
g = gcf;
ax.Units = 'normalized';
g.Units = 'normalized';
ax.Position = [0, 0, 1, 1];

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by