<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>xinit</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>April 1993</DATE>
  <SHORT_DESCRIPTION name="xinit"> initialisation of a graphics driver</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>xinit([driver-name])  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>driver-name</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: string.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P>
    Initialisation of the given driver.</P>
    <P>
    For X Window
    <VERB>driver-name</VERB> can be a string which gives the name of a display
    and a new graphics window is created. If the argument is omitted 
    the value of the environment variable DISPLAY is used if it exists or 
    the value &quot;unix:0.0&quot; is used.</P>
    <P>
    For the Postscript, Xfig or Gif driver, <VERB>driver-name</VERB> is a name of 
    the file where all the graphics operations are recorded.</P>
    <P>Note that in Postscript case the generated file is not a complete
      postscript file. It should be converted using the BEpsf or Blatexpr shell
      programs (see printing)</P>
      
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
driver("Pos")
xinit("foo.ps")
plot2d()
xend()
driver("X11")
 ]]>
  </EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>xbasimp</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>xend</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
  <AUTHOR>J.Ph.C.  </AUTHOR>
</MAN>
