xinit

xinit — initialisation of a graphics driver

Calling sequence

xinit([driver-name])  

Parameters

driver-name : string.

Description

Initialisation of the given driver.

For X Window driver-name 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 "unix:0.0" is used.

For the Postscript, Xfig or Gif driver, driver-name is a name of the file where all the graphics operations are recorded.

Examples



driver("Pos")
xinit("foo.ps")
plot2d()
xend()
driver("X11")
 
  

See also

xbasimp, xend

Author

J.Ph.C.