Hi, the size of my screen is 1366x768 (width x height). How can I force the graph below (via command line) to use the entire screen instead of a small figure? w = 0:pi/100:2*pi; y1 = sin(w)'; h=plot(w,y1);
Prashant Kumar answered .
2025-11-20
scrsz = get(0,'ScreenSize');
figure('Position',scrsz);
plot(rand(10,1));