Setting the default figure size in Matlab once.

115 visualizaciones (últimos 30 días)
Zachary Reinke
Zachary Reinke el 2 de Mzo. de 2018
Comentada: Berkay Soyluoglu el 18 de Abr. de 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?

Respuesta aceptada

Jan
Jan el 2 de Mzo. de 2018
Editada: Jan el 2 de Mzo. de 2018
Simply insert this line in your startup.m file. If you do not have such a file, create it.
  2 comentarios
Zachary Reinke
Zachary Reinke el 4 de Mzo. de 2018
Thanks!! This is exactly what I was looking for.
Berkay Soyluoglu
Berkay Soyluoglu el 18 de Abr. de 2019
This guy is the real MVP.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by