<?xml version="1.0" encoding="UTF-8"?>

<!--

 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab

 * Copyright (C) INRIA - Djalel Abdemouche

 *


 * Copyright (C) 2012 - 2016 - Scilab Enterprises
 *
 * This file is hereby licensed under the terms of the GNU GPL v2.0,
 * pursuant to article 5.3.4 of the CeCILL v.2.1.
 * This file was originally licensed under the terms of the CeCILL v2.1,
 * and continues to be available under such terms.
 * For more information, see the COPYING file which you should have received
 * along with this program.

 *

 -->

<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="sdf">

    <refnamediv>

        <refname>sdf</refname>

        <refpurpose>デフォルトの図(figure)を設定. </refpurpose>

    </refnamediv>

    <refsynopsisdiv>

        <title>呼び出し手順</title>

        <synopsis>
            sdf()
            set(gdf(), "default_values",1)
        </synopsis>

    </refsynopsisdiv>

    <refsection>

        <title>引数</title>

        <variablelist>

            <varlistentry>

                <term>f</term>

                <listitem>

                    <para>ハンドル, デフォルトの図のハンドル.</para>

                </listitem>

            </varlistentry>

        </variablelist>

    </refsection>

    <refsection>

        <title>説明</title>

        <para>

            このルーチンは図(figure)の規範をデフォルト値にリセットします.

        </para>

    </refsection>

    <refsection>

        <title>Examples</title>

        <programlisting role="example"><![CDATA[

x=[0:0.1:2*%pi]';

f=get("default_figure"); // 規範となる図のハンドルを取得

a=get("default_axes");   //  規範となる軸のハンドルを取得

                         // そのプロパティを設定s

f.background=4;

f.auto_resize="off";

f.figure_size=[400 300];

f.axes_size=[600 400];

f.figure_position=[0 -1];

a.x_location="top";

a.y_location="left";

for (i=1:6)

  scf(i); // ID iを指定して図を作成

  plot2d(x,[sin(x) cos(x)],[i -i])

  xclick();

  if i == 4, sdf(); end // 図の規範のデフォルト値を返す

end

 ]]></programlisting>

    </refsection>

    <refsection role="see also">

        <title>参照</title>

        <simplelist type="inline">
            <member>
                <link linkend="colordef">colordef</link>
            </member>
            <member>
                <link linkend="gdf">gdf</link>
            </member>
            <member>
                <link linkend="scf">scf</link>
            </member>
            <member>
                <link linkend="sda">sda</link>
            </member>
            <member>
                <link linkend="gda">gda</link>
            </member>
            <member>
                <link linkend="set">set</link>
            </member>
            <member>
                <link linkend="graphics_entities">graphics_entities</link>
            </member>
            <member>
                <link linkend="setlookandfeel">setlookandfeel</link>
            </member>
        </simplelist>

    </refsection>

</refentry>

