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

조회 수: 1 (최근 30일)
John Aung
John Aung 2014년 3월 9일
댓글: MarionJ 2018년 2월 21일
Hi ,
How can I set pbaspect([2.5 3.5 1]) in the startup.m file for every plot?
Thanks,

답변 (1개)

Greg
Greg 2018년 2월 17일
편집: Greg 2018년 2월 19일
set(groot,'defaultAxesPlotboxAspectRatio',[2.5,3.5,1]);
set(groot,'defaultAxesPlotboxAspectRatioMode','manual');
  댓글 수: 5
Greg
Greg 2018년 2월 20일
You hijacked somebody else's thread from 4 years ago, then changed it to the exact opposite question.
MarionJ
MarionJ 2018년 2월 21일
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...

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by