PLOT の画像を figure に表示させないで直接​ファイルに保存するに​はどうすればよいです​か?

90 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2013 年 10 月 25 日
回答済み: MathWorks Support Team 2013 年 10 月 25 日
プロット画像をフィギュアに表示させずに直接 TIFF などの画像ファイルに保存する方法を教えてください。

採用された回答

MathWorks Support Team
MathWorks Support Team 2013 年 10 月 25 日
Figure の visible プロパティを off に設定することで可能です。
下記のサンプルをご参照ください。
h = figure('visible','off');
peaks; % グラフの描画
print(h,'-dtiff','fig1') % ハンドルhのfigureをtiff 形式でファイル保存
上記を実行すると、カレントフォルダに fig1.tiff が作成されます。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange印刷と保存 についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!