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

7 vues (au cours des 30 derniers jours)
denpika
denpika le 10 Juil 2017
Commenté : michio le 11 Juil 2017
縦長のグラフを作成したいのですが、figureのプロパティで縦・横を入れ替えても横長になってしまいます。 縦長にする方法はあるでしょうか? 例
e1 = figure('visible','on','Position',[100 100 297 210]);
e2 = figure('visible','on','Position',[100 100 210 297]);
e1, e2ともに同じ横長のグラフになってしまいます。

Réponse acceptée

michio
michio le 11 Juil 2017
どのバージョンのMATLABを使っていますか? OS は Windows ですか? R2017aだと添付の画像のように、縦横のサイズが正しい Figure が作成されています。
  2 commentaires
denpika
denpika le 11 Juil 2017
すみません、質問が間違っていました。 解像度を上げるために次のように書いていたのですが、値を落としたら解決しました。e = figure('visible','off','Position',[100 200 210*8 297*8]);
michio
michio le 11 Juil 2017
もし Figure を出力する際の解像度を上げる場合は、print 関数の -r オプションがおすすめです。 詳細: Figure の印刷または特定のファイル形式での保存

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur グラフィックス dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!