problem in maximizing figure window in matlab 2016a
8 visualizzazioni (ultimi 30 giorni)
hi everyone, I have a problem and that is when I run my script and I want to maximize my figure to see it obviously , it doesn't maximize.
and I have to see the figure to enter some inputs to my script.
I attach my problem's pictures and also my input file and my script below.
Ybj=Input(:,2); % Original Yearly Peak Loads
Ybj1=diff(Ybj); % First Difference
Ybj2=diff(Ybj1); % Second Difference
d=input('Enter Degree of Integration (d) (0 or 1 or 2)= ');
wt=[1 -2 1];
p=input('\nEnter Autoregressive Order (p) : ');
q=input('\nEnter Moving Average Order (q) : ');
so what can I do to solve this problem and see the figure full screen???
also I have read problem in below link but I can't understand what should I do to solve it. please help with more detail.
ME il 27 Nov 2019
If you are using R2018a or after then you can use
f = figure;
f.WindowState = 'maximized';
to maximise the figure window. To be safe, you could put these two commands before you plot anything and that should ensure that the figure window is maximised before you start plotting.
If you still get the issue then try putting a pause in the script - somewhere before your input commands.