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

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

 Accepted Answer

michio
michio on 11 Jul 2017

1 vote

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

2 Comments

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

Sign in to comment.

More Answers (0)

Categories

Find more on グラフィックス in Help Center and File Exchange

Products

Asked:

on 10 Jul 2017

Commented:

on 11 Jul 2017

Community Treasure Hunt

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

Start Hunting!