Is specifiying the absolute width and length of the axes possible?

3 ビュー (過去 30 日間)
David
David 2013 年 2 月 12 日
Hi, I'm using grid_legend because I need multicolumnlegends. Unfortunately the figure size changes always with a new legend size. So I think I need to set the axis to e.g. width 9cm and height e.g. 7cm, so my graphs wouldn't always change size.
Is it possible to do that and which parameter would it be?
Regards, David

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 12 日
編集済み: Azzi Abdelmalek 2013 年 2 月 12 日
set(gcf,'units','centimeters')
x0=10;
y0=10;
width=9;
height=7;
set(gcf,'position',[x0,y0,width,height])

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by