In addition, Dataplot uses device 3 to maintain a copy of the most recent plot only (the default file name is "dppl2f.dat") in Postscript format. Dataplot automatically handles the opening and closing of device 3. The PP command uses the device 3 output to print the most recent plot from within a Dataplot session.
If you would like to manually control the device 3 output yourself, then you can use the SET DEVICE 3 command.
where <AUTOMATIC> specifies that Dataplot will control the device 3 output and <USER> specifies that the user will control the device 3 output.
SET DEVICE 3 USER
. This code will use device 2 to generate Postscript . format plots and device 3 to generate SVG versions . of the graph. . set ipl1na plots.ps device 2 postscript . device 3 close set device 3 user . title automatic set ipl2na plot1.svg device 3 svg plot x for x = 1 1 9 device 3 close . set ipl2na plot2.svg device 3 svg plot x**2 for x = 1 1 9 device 3 close . set ipl2na plot3.svg device 3 svg plot x**3 for x = 1 1 9 device 3 close