Setting the default figure size in Matlab once.

126 Ansichten (letzte 30 Tage)
Zachary Reinke
Zachary Reinke am 2 Mär. 2018
Kommentiert: Berkay Soyluoglu am 18 Apr. 2019
Shown below is the command I use to set the default figure position in Matlab.
set(groot,'defaultfigureposition',[400 250 900 750])
However as soon as I quit matlab and restart I must set the property again. I there a way to set this property in matlab so it always stays at the set values? forever?

Akzeptierte Antwort

Jan
Jan am 2 Mär. 2018
Bearbeitet: Jan am 2 Mär. 2018
Simply insert this line in your startup.m file. If you do not have such a file, create it.
  2 Kommentare
Zachary Reinke
Zachary Reinke am 4 Mär. 2018
Thanks!! This is exactly what I was looking for.
Berkay Soyluoglu
Berkay Soyluoglu am 18 Apr. 2019
This guy is the real MVP.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by