Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.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 manual >> Graphics Library > 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))
save(TMPDIR+'/foo.scg',gcf())
clf()
load(TMPDIR+'/foo.scg')
    
a=gca();
curve=a.children.children; //曲線のハンドル
save(TMPDIR+'/foo.scg',curve)
delete(curve)
load(TMPDIR+'/foo.scg')

参照

作者

J.Ph.C.

<< 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:
Wed Jan 26 16:25:13 CET 2011