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

  <TITLE>plot2d4</TITLE>

  <TYPE>Scilab Function</TYPE>

  <DATE>April 1993</DATE>

  <SHORT_DESCRIPTION name="plot2d4">2D plot (arrows style)</SHORT_DESCRIPTION>

  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>plot2d4([logflag,]
    x,y,[style,strf,leg,rect,nax])</CALLING_SEQUENCE_ITEM>

    <CALLING_SEQUENCE_ITEM>plot2d4(y)</CALLING_SEQUENCE_ITEM>

    <CALLING_SEQUENCE_ITEM>plot2d4(x,y
    &lt;,opt_args&gt;)</CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>

  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>args</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: see <VERB>plot2d</VERB> for a description of parameters.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>

  <DESCRIPTION>
    <P><VERB>plot2d4</VERB> is the same as <VERB>plot2d</VERB> but curves are
    plotted using arrows style. This can be useful when plotting solutions of
    an ODE in a phase space.</P>

    <P>By default, successive plots are superposed. To clear the previous
    plot, use <VERB>clf()</VERB>.</P>

    <P>Enter the command <VERB>plot2d4()</VERB> to see a demo. Note that all
    the modes proposed by <VERB>plot2dxx</VERB> (xx = 1 to 4) can be enabled
    using <VERB>plot2d</VERB> and setting the <VERB>polyline_style</VERB>
    option to the corresponding number.</P>
  </DESCRIPTION>

  <EXAMPLE><![CDATA[

// compare the following with plot2d1
x=[0:0.1:2*%pi]';
plot2d4(x,[sin(x) sin(2*x) sin(3*x)])
 // In New graphics only
clf()
set("figure_style","new")
plot2d(x,[sin(x) sin(2*x) sin(3*x)])
e=gce();
e.children(1).polyline_style=4;
e.children(2).polyline_style=4;
e.children(3).polyline_style=4;
]]></EXAMPLE>

  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>fchamp</LINK>
    </SEE_ALSO_ITEM>

    <SEE_ALSO_ITEM>
      <LINK>plot2d</LINK>
    </SEE_ALSO_ITEM>

    <SEE_ALSO_ITEM>
      <LINK>plot2d2</LINK>
    </SEE_ALSO_ITEM>

    <SEE_ALSO_ITEM>
      <LINK>plot2d3</LINK>
    </SEE_ALSO_ITEM>

    <SEE_ALSO_ITEM>
      <LINK>subplot</LINK>
    </SEE_ALSO_ITEM>

    <SEE_ALSO_ITEM>
      <LINK>clf</LINK>
    </SEE_ALSO_ITEM>

    <SEE_ALSO_ITEM>
      <LINK>polyline_properties</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>

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