%N pgend %F $MIR/src/pgend.f
%D Close all open graphics devices
%B
      SUBROUTINE PGEND

 Close and release any open graphics devices. All devices must be
 closed by calling either PGCLOS (for each device) or PGEND before
 the program terminates. If a device is not closed properly, some
 or all of the graphical output may be lost.

 Arguments: none
