<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>xgraduate</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>November 1993</DATE>
  <SHORT_DESCRIPTION name="xgraduate"> axis graduation</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>[xi,xa,np1,np2,kMinr,kMaxr,ar]=xgraduate(xmi,xma)  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>xmi,xma</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: real scalars</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>xi, xa, kMinr, kMaxr, ar</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>:real scalars</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>np1,np2</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: integer</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P><VERB>xgraduate</VERB> returns the axis graduations which are used by the plot
    routines (with pretty print flag enabled). It returns an interval <VERB>[xi,xa]</VERB> which contains the
    given interval <VERB>[xmi,xma]</VERB> and such that</P>
    <P><VERB>xi= kMinr*10^ar</VERB>, <VERB>xa=kMaxr*10^ar</VERB> and the interval can 
    be divided into <VERB>np2</VERB> intervals and each interval is divided in
    <VERB>np1</VERB> sub-intervals.</P>
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
  [x1,xa,np1,np2,kMinr,kMaxr,ar]=xgraduate(-0.3,0.2)
 ]]>
  </EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>graduate</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>plot2d</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
  <AUTHOR>J.P.C ; ;   </AUTHOR>
</MAN>
