グラフィックスをPDFファイルに保存する.
xs2pdf(win_num, file_name [,orientation]) xs2pdf(fig, file_name [,orientation])
整数, エキスポートする図のID.
エキスポートする図のハンドル.
文字列, エキスポートするファイルの名前.
拡張子が指定されない場合, 自動的に付加されます.
オプションのパラメータで, 'portrait' または 'landscape'を指定できます. デフォルト値は 'portrait'です.
xs2pdf
はグラフィックウインドウの表示内容をPDFファイルにエキスポートします.