Question : matlab how to set figure size so you can see plot
Answered by : huldar
h1=figure(1);
plot(t,y)
set(h1,'Position',[10 10 500 500])
Source : https://www.mathworks.com/matlabcentral/answers/173629-how-to-change-figure-size | Last Update : Fri, 16 Apr 21
Question : set matlab figure size
Answered by : david-gomari
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.
Source : | Last Update : Mon, 31 Jan 22