Figure window full screen from live script editor not working
Show older comments
Working in R2024a, with live scripts, i have run into an issue with some of the wasy i would get figures to open full screen automatically
Method 1 is my defulat method and has worked in the past on R2020, but no longer is beahving as expected. I have tried several other methods also with no success
a sample code of what i am doing and description of teh restuls i get based on the most recomended approaches ive seen
x =[1 2 3 4 5];
y = x + 1;
%method 1
f(10) = figure('units','normalized','outerposition',[0 0 1 1]);
plot(x,y)
% opens in bottom left corner ~10% of screen cut off by task bar
%method 2
f(20) = figure();
plot(x,y)
set(gcf, 'Position', get(0, 'Screensize'));
% opens in bottom left corner ~10% of screen cut off by task bar
%method 3
f(30) = figure();
plot(x,y)
set(gcf,'Position',get(0,Screensize'));
% does not work at all % Unrecognized function or variable 'Screensize'.
Accepted Answer
More Answers (0)
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!