1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
4 xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
5 xml:lang="ja" xml:id="figure">
7 <refname>figure</refname>
8 <refpurpose>図を作成する</refpurpose>
14 f = figure("PropertyName1", Propertyvalue1, ..., ..., "PropertyNameN", PropertyvalueN);
20 このルーチンは図を作成します. IDが指定された場合,
23 ウインドウは最初のフリーなID,すなわちウインドウで使用されていない
27 <refsection role="arguments">
34 指定されない場合, 最初のフリーなIDが使用されます.
39 <term>PropertyName{1, ..., N}</term>
43 among <link linkend="figure_properties">all existing ones</link>.
48 <literal>'dockable'</literal>, <literal>'toolbar'</literal> and
49 <literal>'menubar'</literal> properties can be set only at figure's
53 <literal>'resizefcn'</literal>: when it is set at figure's creation,
54 the callback is first executed while building the initial figure.
55 Hence it must already be defined and callable.
62 <term>PropertyValue{1, ..., N}</term>
65 対応するプロパティに指定するscilabオブジェクトの値.
72 <para>新規に作成されたウインドウのハンドル.</para>
79 <programlisting role="example"><![CDATA[
80 // figure_id==3の図を作成します
82 // 図3にテキストuicontrolを追加します
83 uicontrol(h, "style", "text", ...
84 "string", "This is a figure", ...
85 "position", [50 70 100 100], ...
88 // figure_id==1の図を作成します
90 // 図1のテキストuicontrolを追加します
91 uicontrol("style", "text", ...
92 "string", "Another figure", ...
93 "position", [50 70 100 100], ...
96 // カレントの図(すなわち,図1)を閉じる
102 <refsection role="see also">
104 <simplelist type="inline">
106 <link linkend="scf">scf</link>
109 <link linkend="gcf">gcf</link>
112 <link linkend="createWindow">createWindow</link>
115 <link linkend="figure_properties">figure_properties</link>
118 <link linkend="close">close</link>