Previous: setds2 Up: ../plot79_s.html Next: setej
SUBROUTINE SETDS3 (WIDTH,HEIGHT,DEPTH) C$ (Set 3-D Normalized Device Coordinate Space) C$ Define the normalized device coordinate space to be a box C$ of size (WIDTH,HEIGHT,DEPTH), where each of the coordinates C$ lies in the range 0.0..1.0. The NDC space is left-handed, C$ with X positive to the right, Y positive upward, and Z C$ positive away from the observer. The viewing volume will C$ be mapped into the NDC space, and the rectangle of size C$ (WIDTH,HEIGHT) will be mapped onto the viewing surface of C$ the display device so that the entire rectangle is visible. C$ C$ This is sometimes useful if the display surface is not C$ square, and one wishes to maximize the size of the plot C$ which can be fit on it. If the default NDC space of the C$ unit cube where in effect, then the device driver would be C$ forced to map NDC space into the largest square which could C$ fit on the display surface, thus leaving part of the C$ display surface unused. C$ C$ At least one of (WIDTH,HEIGHT,DEPTH) must be unity, and C$ neither WIDTH nor HEIGHT may be zero. C$ (02-FEB-82)