Odd initial figure behavior in R2016b

2 Ansichten (letzte 30 Tage)
William Vaughn
William Vaughn am 27 Feb. 2017
Bearbeitet: Sindhu Priya am 7 Mär. 2017
Just installed matlab R2016b(64bit) on Fedora 25 and found that the figure command exhibits a strange behavior: the figure shows up in the top left corner of my screen momentarily and then jumps to the position set by 'DefaultFigurePosition'. Quite annoying. How do I get the figure to display in the right place initially?
  1 Kommentar
William Vaughn
William Vaughn am 27 Feb. 2017
A command such as "figure('Position',[800 650 560 420])" also displays the figure in top left corner before going to specified position. It seems that some internal setup procedure is prematurely displaying the figure.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Sindhu Priya
Sindhu Priya am 7 Mär. 2017
Bearbeitet: Sindhu Priya am 7 Mär. 2017
As MathWorks officially did not support all flavors of linux (check this link for supported platforms)
All functions may or may not work as expected.
Possible work around for the issue is,
copy the following command to startup.m file in MATLAB’s Startup Folder (or create a new 'startup.m' if one does not already exist)
>> set(0,'defaultfigureposition',[800 650 560 420]);
Regards,
Sindhu

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by