<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>sd2sci</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>April 1993</DATE>
  <SHORT_DESCRIPTION name="sd2sci"> <VERB>gr_menu</VERB> structure to scilab instruction convertor</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>txt=sd2sci(sd [,sz [,orig]])  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>sd</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: data structure build by gr_menu.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>sz</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: vector of number or strings with two components, give the x and y zoom factors</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>orig</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: vector of number or strings with two components, give the origin translation vector</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P>
    given a <VERB>sd</VERB> data structure generated by <VERB>gr_menu</VERB>
    <VERB>sd2sci</VERB> forms a vector of  scilab instructions corresponding to
    the graphic edited by <VERB>gr_menu</VERB>.</P>
    <P>
    The optional parameters <VERB>sz</VERB> and <VERB>orig</VERB>  allows to zoom and
    shift the initial graphic.</P>
    <P>
    If <VERB>sz</VERB> or <VERB>orig</VERB> are given by strings generated instructions
    are relative use then as formal expressions.</P>
  </DESCRIPTION>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>gr_menu</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>execstr</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
  <AUTHOR>Serge Steer INRIA 1988</AUTHOR>
</MAN>
