Set matlab figure size

Code examples

2
0

matlab how to set figure size so you can see plot

h1=figure(1);
plot(t,y)
set(h1,'Position',[10 10 500 500])
0
0

set matlab figure size

f1 = figure();
% plot what ever you want! 

% then put code below.
set(f1, 'Position', [10 10 width height]);

% width -> Distance between the right and left inner edges of the figure.
% height -> Distance between the top and bottom inner edges of the window.

Similar pages

Similar pages with examples

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................