KPG1_PGPIX

Displays an image using PGPLOT

Description:

This routine uses PGPIXL to display an array of colour indices as a rectangular image. The area occupied by the array of colour indices is specified within a nominated Domain. Two opposite corners of this area are transformed into the Base Frame of the Plot (which should correspond to the current PGPLOT world co-ordinate sysytem), and the array of colour indices is drawn between these two transformed positions.

Invocation

CALL KPG1_PGPIX( IPLOT, DOMAIN, LBND, UBND, NX, NY, COLI, STATUS )

Arguments

IPLOT = INTEGER (Given)
A pointer to an AST Plot. The Base Frame in this Plot should correspond to the world co-ordinates in the current PGPLOT window.
DOMAIN = CHARACTER ( ) (Given)
The Domain in which the co-ordinates supplied in BOX are defined.
LBND( 2 ) = REAL (Given)
The lower bounds of the area covered by the supplied array of colour indices, in the Domain given by DOMAIN.
UBND( 2 ) = REAL (Given)
The upper bounds of the area covered by the supplied array of colour indices, in the Domain given by DOMAIN.
NX = INTEGER
Number of columns in the array of colour indices.
NY = INTEGER
Number of rows in the array of colour indices.
COLI( NX, NY ) = INTEGER (Given)
The array of colour indices.
STATUS = INTEGER (Given and Returned)
The global status.