figureを用いた​グラフ作図にて、縦長​のグラフを作成する方​法

縦長のグラフを作成したいのですが、figureのプロパティで縦・横を入れ替えても横長になってしまいます。 縦長にする方法はあるでしょうか? 例
e1 = figure('visible','on','Position',[100 100 297 210]);
e2 = figure('visible','on','Position',[100 100 210 297]);
e1, e2ともに同じ横長のグラフになってしまいます。

 Akzeptierte Antwort

michio
michio am 11 Jul. 2017

1 Stimme

どのバージョンのMATLABを使っていますか? OS は Windows ですか? R2017aだと添付の画像のように、縦横のサイズが正しい Figure が作成されています。

2 Kommentare

denpika
denpika am 11 Jul. 2017
すみません、質問が間違っていました。 解像度を上げるために次のように書いていたのですが、値を落としたら解決しました。e = figure('visible','off','Position',[100 200 210*8 297*8]);
michio
michio am 11 Jul. 2017
もし Figure を出力する際の解像度を上げる場合は、print 関数の -r オプションがおすすめです。 詳細: Figure の印刷または特定のファイル形式での保存

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu グラフィックス finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 10 Jul. 2017

Kommentiert:

am 11 Jul. 2017

Community Treasure Hunt

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

Start Hunting!