Note: "CPD" with no argument releases the current plotting device. This is useful when plotting to a file and closing the device is necessary to get PGPLOT properly terminate and close the file. Also "CPD ?" will list all the devices supported.
PLT> CPD /PS ! Output Postscript commands to a file PLT> Plot ! Send the current plot to the file PLT> CPD ! Close the file