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

<!--

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

 * Copyright (C) INRIA

 *


 * 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="nf3d">

    <refnamediv>

        <refname>nf3d</refname>

        <refpurpose>plot3d パラメータ用の矩形小平面</refpurpose>

    </refnamediv>

    <refsynopsisdiv>

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

        <synopsis>[xx,yy,zz]=nf3d(x,y,z)</synopsis>

    </refsynopsisdiv>

    <refsection>

        <title>引数</title>

        <variablelist>

            <varlistentry>

                <term>x,y,x,xx,yy,zz</term>

                <listitem>

                    <para>実数行列</para>

                </listitem>

            </varlistentry>

        </variablelist>

    </refsection>

    <refsection>

        <title>説明</title>

        <para>

            ユーティリティ関数.

            3つの行列 x,y,zにコード化された矩形の小平面を

            plot3dに指定可能な小平面のScilabコードに

            変換する際に使用されます.

        </para>

    </refsection>

    <refsection>

        <title>例</title>

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

//A sphere...

u = linspace(-%pi/2,%pi/2,40);

v = linspace(0,2*%pi,20);

x= cos(u)'*cos(v);

y= cos(u)'*sin(v);

z= sin(u)'*ones(v);

//plot3d2(x,y,z) は以下と等価です...

[xx,yy,zz]=nf3d(x,y,z); plot3d(xx,yy,zz)

 ]]></programlisting>

    </refsection>

    <refsection role="see also">

        <title>参照</title>

        <simplelist type="inline">

            <member>

                <link linkend="plot3d">plot3d</link>

            </member>

            <member>

                <link linkend="plot3d2">plot3d2</link>

            </member>

        </simplelist>

    </refsection>

</refentry>

