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

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 > load_save > xload

xload

保存されたグラフィックをロードする

呼び出し手順

xload(file_name,[win_num])

パラメータ

file_name

文字列, ファイル名.

win_num

整数, グラフィックウインドウの番号. 指定されない場合, カレントのグラフィックウインドウが使用されます.

説明

xload はファイル file_name に含まれるグラフィックを グラフィックウインドウ win_numに リロードします.

Scilab 5.0以降, 全ての uimenuまたは uicontrolハンドルも ロードされます.

グラフィックを含むファイルに関して,load 関数はxloadの代わりに使用されます. xload はウインドウ番号, ウインドウの大きさ,ウインドウの次元を回復しません.

t=0:0.01:10;
subplot(211),plot2d(t,sin(t))
subplot(212),plot2d(t,sin(3*t))
xsave(TMPDIR + "/foo.scg", gcf())
clf()
xload(TMPDIR + "/foo.scg")

a=gca();
curve=a.children.children; //handle on the curve
save(TMPDIR + "/foo.scg", "curve")
delete(curve)
load(TMPDIR + "/foo.scg")

参照

  • xsave — ファイルにグラフィックを保存する
  • load — 保存した1個または複数の変数を読み込む
  • save — バイナリファイルに1個または複数の変数を保存する
Report an issue
<< load_save load_save xsave >>

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:
Fri Apr 11 14:18:58 CEST 2014