DEVICE 2 SPLITName:
In some cases, it may be desirable to put each plot in a separate file. For example, this may be useful when you need to import the graphs into a web page or a word processor.
The SET DEVICE 2 SPLIT command can be used to specify that each plot will be generated to a separate file. A counter is added to the base file name before the extension (i.e., the period in the file name). For the default name, the files will be called
You can use the SET IPL1NA command to specify the base file name. This is demonstrated in the Program example below.
If you specify OFF (the default), all plots will be generated to a single file. If you specify ON, a counter value will be added to the plot file name so that each plot will be saved in a different file.
SET DEVICE 2 SPLIT OFF
. Step 0: Define output devices . . This program will create the plots . . device2_1.ps . device2_2.ps . device2_3.ps . device2_4.ps . set device 2 split on set ipl1na device2.ps device 2 postscript . . Step 1: Plot control features . label case asis title case asis title automatic y1label Y Axis x1label X Axis character X line blank . . Step 2: Generate several plots . plot x for x = 1 1 9 plot x**2 for x = 1 1 9 plot x**3 for x = 1 1 9 plot x**4 for x = 1 1 9 . device 2 close