VIEWPORT

Set the viewport for the current plotting device

Description:

Control the PGPLOT viewport. The viewport is the region of the plotting surface through which the graph is seen.

Usage:

viewport action
$\left\{\right\$
[xvpmin] [xvpmax] [yvpmin] [yvpmax]

action

Parameters:

ACTION = _CHAR (Read)
The method used to set the viewport. It may be one of the following:
• "STANDARD" – The viewport is set to the standard PGPLOT viewport.

• "ADJUST" – The viewport is adjusted so that the scales along the X and Y axes are the same number of world coordinate units per unit length. The newly created viewport fits within the old viewport.

• "NDC" – The viewport is set by specifying its extent in the X and Y directions in terms of normalised device coordinates (i.e. coordinates that run from 0 to 1 along the horizontal and vertical directions).

• "INCHES" – The viewport is set by specifying its extent in the X and Y directions in terms of inches.

[The value is prompted for.]

XVPMIN = _REAL (Read and Write)
The left hand side of the viewport.

If the value is not specified on the command line, the current value is used. The current value is initially set to 0.0.

XVPMAX = _REAL (Read and Write)
The right hand side of the viewport.

If the value is not specified on the command line, the current value is used. The current value is initially set to 1.0.

YVPMIN = _REAL (Read and Write)
The lower side of the viewport.

If the value is not specified on the command line, the current value is used. The current value is initially set to 0.0.

YVPMAX = _REAL (Read and Write)
The upper side of the viewport.

If the value is not specified on the command line, the current value is used. The current value is initially set to 1.0.

XMIN = _REAL (Read)
The left hand edge of the world coordinate system.

[The value of the global parameter PONGO_XMIN is used. If PONGO_XMIN is not defined, the default value 0.0 is used.]

XMAX = _REAL (Read)
The right hand edge of the world coordinate system.

[The value of the global parameter PONGO_XMAX is used. If PONGO_XMAX is not defined, the default value 1.0 is used.]

YMIN = _REAL (Read)
The lower edge of the world coordinate system.

[The value of the global parameter PONGO_YMIN is used. If PONGO_YMIN is not defined, the default value 0.0 is used.]

YMAX = _REAL (Read)
The upper edge of the world coordinate system.

[The value of the global parameter PONGO_YMAX is used. If PONGO_YMIN is not defined, the default value 1.0 is used.]