/GRAPHICS_VIEWING |
---|
To define Normalisation transformations. Either automatically (ZONE and SIZE) or 'by hand' (SVP, SWN and SELNT).
/GRAPHICS/VIEWING/ZONE [ nx ny ifirst chopt ] |
---|
NX | I | Number of divisions along X D=1 |
NY | I | Number of divisions along Y D=1 |
IFIRST | I | First division number D=1 |
CHOPT | C | Option D=' ' |
CHOPT:
'' '' | |
'S' | Redefine zones on current picture |
'' '' | Define the zones for all subsequent pictures. |
Subdivide the picture into NX by NY zones, starting at zone IFIRST (count along X first).
Note that the command ZONE doesn't define the normalisation transformations (see SWN, SVP and SELNT). They are define only when commands like H/PLOT, NULL etc .. are performed.
/GRAPHICS/VIEWING/SIZE [ xsize ysize ] |
---|
XSIZE | R | Size along X D=20. |
YSIZE | R | Size along Y D=20. |
Set the size of the picture. On the terminal, the pictures will have the ratio YSIZE/XSIZE, and, if a metafile is produced, pictures will be YSIZE by XSIZE cm. This command sets the parameters for the normalisation transformation number 1 to [0-XSIZE], [0-YSIZE].
/GRAPHICS/VIEWING/SVP nt x1 x2 y1 y2 |
---|
NT | I | Normalisation transformation number |
X1 | R | Low X of viewport in NDC D=0 R=0:1 |
X2 | R | High X of viewport in NDC D=1 R=0:1 |
Y1 | R | Low Y of viewport in NDC D=0 R=0:1 |
Y2 | R | High Y of viewport in NDC D=1 R=0:1 |
Set the viewport of the normalisation transformation NT in the Normalized Device Coordinates (NDC). Note that the command SELNT should be invoke in order to validate the viewport parameters.
This command, and also SWN, should not be used for a common PAW usage (H/PLOT, GRAPH etc ...). Commands like ZONE and SIZE should be used.
/GRAPHICS/VIEWING/SWN nt x1 x2 y1 y2 |
---|
NT | I | Normalize transformation number |
X1 | R | Low X of window in WC D=0 |
X2 | R | High X of window in WC D=20 |
Y1 | R | Low Y of window in WC D=0 |
Y2 | R | High Y of window in WC D=20 |
Set the window of the normalisation transformation NT in World Coordinates (WC). Note that the command SELNT should be invoke in order to validate the window parameters.
Example:
This command, and also SVP, should not be used for a common PAW usage (H/PLOT, GRAPH etc ...). Commands like ZONE and SIZE should be used.
/GRAPHICS/VIEWING/SELNT nt |
---|
NT | I | Normalisation transformation number |
Select a normalisation transformation number.
Example: