How to set default aspect ratio of 2D-3D plot in Matlab

2 visualizaciones (últimos 30 días)
John Aung
John Aung el 9 de Mzo. de 2014
Comentada: MarionJ el 21 de Feb. de 2018
Hi ,
How can I set pbaspect([2.5 3.5 1]) in the startup.m file for every plot?
Thanks,

Respuestas (1)

Greg
Greg el 17 de Feb. de 2018
Editada: Greg el 19 de Feb. de 2018
set(groot,'defaultAxesPlotboxAspectRatio',[2.5,3.5,1]);
set(groot,'defaultAxesPlotboxAspectRatioMode','manual');
  5 comentarios
Greg
Greg el 20 de Feb. de 2018
You hijacked somebody else's thread from 4 years ago, then changed it to the exact opposite question.
MarionJ
MarionJ el 21 de Feb. de 2018
Absolutely not. It's irrelevant if I want to set it to 'auto' or to 'manual' or to defined values, respectively. The question is how to...

Iniciar sesión para comentar.

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by