Borrar filtros
Borrar filtros

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

89 visualizaciones (últimos 30 días)
MathWorks Support Team
MathWorks Support Team el 25 de Oct. de 2013
Respondida: MathWorks Support Team el 25 de Oct. de 2013
プロット画像をフィギュアに表示させずに直接 TIFF などの画像ファイルに保存する方法を教えてください。

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre 印刷と保存 en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!