This routine must be compiled with Fortran release 2, and linked with the Fortran Friends graphics and utils libraries.
Resolution: Depends on graphics mode. Ensure that the current mode is suitable before running the PGPLOT program.