Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Language Reference

GPORT Call

defines a viewport

CALL GPORT( viewport);

where viewport is a numeric matrix or literal defining the viewport. The rectangular area's boundary is specified in normalized coordinates, where you specify the coordinates of the lower left corner and the upper right corner of the rectangular area in the form

 {minimum-x minimum-y maximum-x maximum-y}

The GPORT subroutine changes the current viewport. The viewport argument defines the new viewport using device coordinates (always 0 to 100). Changing the viewport may affect the height of the character fonts; if so, you may want to modify the HEIGHT parameter. An example of a valid statement follows:

   call gport({20 20 80 80});
The default values for viewport are 0 0 100 100.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.