increase dimension plot window

조회 수: 4 (최근 30일)
stefano
stefano 2013년 6월 1일
i've recently changed my monitor with another bigger one; when i plot something the window is too small respect the screen so i'm searching for a command or option to increase the plot window;
i've searched info on internet but i found only to increase a singular plot with the strings
hFig = figure(1);
set(hFig,'units','normalized');
set(hFig, 'Position', [0.1 0.4 0.3 0.6]);
but it'not what i'm searching for; i want modify the default window size!!! someone can help me?
(i'm sorry for my english but i don't speak it very well!!!)

답변 (2개)

Walter Roberson
Walter Roberson 2013년 6월 1일
set(0,'DefaultFigureUnits', 'normalized', 'DefaultFigurePosition', [0.1 0.4 0.3 0.6])

Azzi Abdelmalek
Azzi Abdelmalek 2013년 6월 1일
hFig = figure(1);
set(gcf,'position',get(0,'ScreenSize'))
  댓글 수: 1
Walter Roberson
Walter Roberson 2013년 6월 1일
편집: Walter Roberson 2013년 6월 1일
Note that this does not change the default size.
Also, watch out for the possibility that the figure Units is not pixels.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by