window plot size matlab code example Example: matlab how to set figure size so you can see plot h1=figure(1); plot(t,y) set(h1,'Position',[10 10 500 500])