Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Graphics : exporting and printing > xs2png

xs2png

グラフィックスをPNG ファイルに出力.

呼び出し手順

xs2png(win_num, file_name)
xs2png(fig, file_name)

パラメータ

win_num

整数, エキスポートする図のID.

fig

エキスポートする図のハンドル.

file_name

文字列, エキスポートするファイルの名前.

説明

xs2png はグラフィックウインドウの表示内容を PNGファイルにエキスポートします.

scf(0)
plot2d()
//PNG export
xs2png(0,'foo.png');
xs2png(gcf(),'foo.png');

参照

  • xs2bmp — BMPファイルにグラフィックスを出力.
  • xs2gif — GIFファイルにグラフィックスを出力.
  • xs2jpg — JPGファイルにグラフィックスを出力.
  • xs2ppm — グラフィックスをPPMファイルに出力.
  • xs2eps — グラフィックスをEPS ファイルに出力.
  • xs2pdf — グラフィックスをPDFファイルに保存する.
  • xs2svg — グラフィックスをSVGファイルに出力.
  • xs2ps — グラフィックスをPSファイルに出力.
  • xs2emf — EMFにグラフィックスを出力.
Report an issue
<< xs2pdf Graphics : exporting and printing xs2ppm >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 23:12:41 CET 2018