select a graphics driver
current_driver = driver() driver(driver_name) previous_driver = driver(driver_name)
a string, driver to be selected (case insensitive).
a string, selected driver.
a string, driver previously selected.
This function provides a switch between the different drivers for export or display.
Direct rendering on the screen or off-screen export
without any graphical user interface. This is available
in the mode
scilab-adv-cli (or also
Used without any input argument, the
function returns the current graphics driver name.
To display graphic into a new window instead of off-screen format. This is the default behavior of Scilab.
It is possible to use the "null" format to direct graphics to nothing.
- X11 or Rec
output to the screen of the computer.
Supported vectorial formats
The selected driver can be one of the following vectorial format:
- Pos or ps
output into Postscript format.
output into PDF format.
output into SVG format.
Supported bitmap formats
The selected driver can be one of the following bitmap format:
output into GIF format.
output into PNG format.
- JPEG or JPG
output into JPEG format.
output into BMP format.
output into portable pixmap (PPM) format.
To redirect the graphic output to a GIF file (which will be written in the temporary directory), you can use the following example:
For example if one has generated a sequence of GIF files
img*.gif it is possible to build
an animated GIF file (named
convert -delay 10 img*.gif anim.gif
|Report an issue|
|<< Graphiques : export||Graphiques : export||xend >>|