KPG1_PGOPN

Opens the AGI database and activate a PGPLOT workstation

Description:

This routine opens the graphics database and activates a PGPLOT workstation selected using the specified parameter. The user s palette and colour table is then re-instated, over-riding the those established by PGPLOT.

The device should normally be shut down using KPG1_PGCLS.

Invocation

CALL KPG1_PGOPN( PNAME, MODE, IPIC, STATUS )

Arguments

PNAME = CHARACTER ( ) (Given)
The name of the parameter to use.
MODE = CHARACTER ( ) (Given)
The AGI access mode; " WRITE" or " UPDATE" . Write causes the current picture to be cleared (the contents of the database are unaffected).
IPIC = INTEGER (Returned)
An AGI identifier for the current picture.
STATUS = INTEGER (Given and Returned)
The global status.