SETDEVICE procedure
Opens a graphical file and specifies the device number on basis of its extension (M.P. Boer & J.T.N.M. Thissen).
No options
Parameters
Description
SETDEVICE opens a graphical file and specifies the device number on the basis of the extension of the given filename. The table below shows the correspondence between extension and device number.
Extension |
Device number |
Explanation |
.hpg |
4 |
HPGL file |
.eps |
5 |
Encapsulated PostScript file |
.emf |
6 |
Windows Enhanced Metafile |
.jpg |
7 |
JPEG file |
.tif |
8 |
TIFF file |
.png |
9 |
Portable Network Graphics file |
.gmf |
10 |
GenStat Metafile |
.bmp |
11 |
Windows Bitmap file |
Options: none.
Parameters: FILENAME, NUMBER.