<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>

  <TITLE>fplot3d</TITLE>

  <TYPE>Scilab Function</TYPE>

  <DATE>April 1993</DATE>

  <SHORT_DESCRIPTION name="fplot3d">3D plot of a surface defined by a
  function</SHORT_DESCRIPTION>

  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>fplot3d(xr,yr,f,[theta,alpha,leg,flag,ebox])</CALLING_SEQUENCE_ITEM>

    <CALLING_SEQUENCE_ITEM>fplot3d(xr,yr,f,&lt;opt_args&gt;)</CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>

  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>xr</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: row vector of size n1.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>

      <PARAM_ITEM>
        <PARAM_NAME>yr</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: row vector of size n2.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>

      <PARAM_ITEM>
        <PARAM_NAME>f</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: external of type z=f(x,y).</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>

      <PARAM_ITEM>
        <PARAM_NAME>theta,alpha,leg,flag,ebox</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: see <VERB>plot3d</VERB>.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>

      <PARAM_ITEM>
        <PARAM_NAME>&lt;opt_args&gt;</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: see <VERB>plot3d</VERB>.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>

  <DESCRIPTION>
    <P><VERB>fplot3d</VERB> plots a surface defined by the external function
    <VERB>f</VERB> on the grid defined by <VERB>xr</VERB> and
    <VERB>yr</VERB>.</P>

    <P>Enter the command <VERB>fplot3d()</VERB> to see a demo.</P>
  </DESCRIPTION>

  <EXAMPLE><![CDATA[

deff('z=f(x,y)','z=x^4-y^4')
x=-3:0.2:3 ;y=x ;
clf() ;fplot3d(x,y,f,alpha=5,theta=31)  
 
  ]]></EXAMPLE>

  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>plot3d</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>

  <AUTHOR>J.Ph.C.</AUTHOR>
</MAN>