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.
However, this page did not exist in the previous stable version.

Scilab manual >> Graphics Library > handle > get_figure_handle

get_figure_handle

指定したIDの図のハンドルを取得

呼び出し手順

f = get_figure_handle(figure_id)

パラメータ

figure_id

整数, 取得する図のID.

f

対応する図のハンドル.

説明

get_figure_handle 関数により IDが既知の図のハンドルを取得することが可能です. 指定したIDを有する図が存在する場合,この関数はそのハンドルを返します. それ以外の場合,空の行列を返します.

// いくつかの図を作成
scf(0);
scf(5);
scf(12);

// ID 5 の図のハンドルを取得
f5 = get_figure_handle(5);
// カレントの図は ID 12の図のままです
gcf()
// 存在しない図を取得
f42 = get_figure_handle(42);

作者

Jean-Baptiste Silvy INRIA

<< ged handle glue >>

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