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

  <TITLE>mtlb_axis</TITLE>

  <TYPE>M2SCI function</TYPE>

  <DATE>October 2006</DATE>

  <SHORT_DESCRIPTION name="mtlb_axis">Matlab axis emulation
  function</SHORT_DESCRIPTION>

  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>mtlb_axis(X)</CALLING_SEQUENCE_ITEM>

    <CALLING_SEQUENCE_ITEM>mtlb_axis(st)</CALLING_SEQUENCE_ITEM>

    <CALLING_SEQUENCE_ITEM>mtlb_axis(axeshandle, ...)</CALLING_SEQUENCE_ITEM>

    <CALLING_SEQUENCE_ITEM>[mode,visibility,direction]=mtlb_axis('state')</CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>

  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>X</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: a vector of reals ([xmin xmax ymin ymax] or [xmin xmax ymin
          ymax zmin zmax])</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>

    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>st</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: a string ('auto', 'manual', 'tight', 'ij', 'xy', 'equal',
          'square', 'vis3d', 'off', 'on')</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>

    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>axeshandle</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: handle of the current axes entity</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>

  <DESCRIPTION>
    <P>Matlab <VERB>axis</VERB> have not a Scilab equivalent function.</P>

    <P>The function <VERB>mtlb_axis(...)</VERB> is used by
    <VERB>mfile2sci</VERB> to replace <VERB>axis(...)</VERB> when it was not
    possible to know what were the inputs while porting Matlab code to Scilab.
    This function will determine the correct semantic at run time (axis
    <VERB>fill</VERB>, axis <VERB>image</VERB> and axis <VERB>normal</VERB>
    are not implemented). If you want to have a more efficient code it is
    possible to replace <VERB>mtlb_axis</VERB> call by <VERB>get(axeshandle,
    prop)</VERB> call (prop is a axes property, see
    <LINK>axis_properties</LINK>)</P>

    <P>Caution: <VERB>mtlb_axis</VERB> has not to be used for hand coded
    functions.</P>
  </DESCRIPTION>

  <AUTHORS>
    <AUTHORS_ITEM>F.B.</AUTHORS_ITEM>
  </AUTHORS>
</MAN>