next up previous contents_motif.gif
Next: 6.5 Attributes Up: 6 Graphics: BoGLi Previous: 6.3.12 resize


6.4 Device handling

BoGLi is based on pgplot and as a consequence the number and type of available devices depends on the actual configuration. A list of supported devices is given at http://www.astro.caltech.edu/~tjp/pgplot/devices.html. During installation the device drivers have to be selected by editing the file drivers.list. As many device drivers are available on selected operating systems only, you should ensure that drivers you do not want are commented out (place ! in column 1) to avoid installation failures. A version of drivers.list used for a Linux PC can be found in Sect 3.4.4.

The command handler of BoGLi provides a set of commands to manage output devices. To open a new device use open. Pgplot will then prompt for the device type and suggest a default selection. To get a list of the available devices of your installation enter ?. A newly opened device automatically becomes the current device.

To get a list of all opened devices and the current device identifier enter device ?. Swapping between devices is also provided by the command device. Example: device 3 will switch to device number 3 if this is already opened. To close a device enter close followed by the device number to be erased. Example: close 3. The number of the closed device becomes available again and will be used in turn by subsequent calls of open. To close the current device enter close current and the closure of all openend devices is achieved by close all.

The size of some interactive devices (e.g. /xwindow) may be changed using the mouse. To adjust the actual plotting area use resize afterwards.


next up previous contents_motif.gif
Next: 6.5 Attributes Up: 6 Graphics: BoGLi Previous: 6.3.12 resize
Frank Bertoldi 2005-11-10