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

3 ビュー (過去 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 件のコメント
MarionJ
MarionJ 2018 年 2 月 16 日
Have you found a solution?

サインインしてコメントする。

回答 (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 Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by