DEVICE 3 NAME COUNTERName:
The SET DEVICE 3 NAME COUNTER command can be used to add a counter to the base file name each time the plot file is opened. That is, each plot will be saved in a different file name.
The counter is added to the 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 IPL2NA command to specify the base file name. This is demonstrated in the Program example below.
If you specify OFF (the default), the plot file will be overwritten each time a new plot is generated. 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 3 NAME COUNTER OFF
. Step 0: Define output devices . . The following commands will generate the . plot files "plot_1.ps", "plot_2.ps", "plot_3.ps", . "plot_4.ps". . set device 3 name counter on set ipl2na plot.ps device 3 close . . 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 3 close