h09651
s 00003/00000/00039
d D 1.3 83/03/08 20:21:25 tes 3 2
c modified axis pipeline for integer calculations
e
s 00005/00005/00034
d D 1.2 83/01/28 14:00:32 tes 2 1
c initial_internal_update
e
s 00039/00000/00000
d D 1.1 83/01/28 13:04:30 tes 1 0
c date and time created 83/01/28 13:04:30 by tes
e
u
tes
mjb
mrk
mmm
U
t
T
I 1
subroutine grext (xmin, xmax, ymin, ymax)
########################################################################
#                                                                      #
#          THIS MATERIAL IS CONFIDENTIAL AND IS FURNISHED UNDER        #
#          A WRITTEN LICENSE AGREEMENT.  IT MAY NOT BE USED,           #
#          COPIED OR DISCLOSED TO OTHERS EXCEPT IN ACCORDANCE          #
#          WITH THE TERMS OF THAT AGREEMENT.                           #
#                                                                      #
#          COPYRIGHT (C) 1982 GRAPHIC SOFTWARE SYSTEMS INC.            #
#          ALL RIGHTS RESERVED.                                        #
#                                                                      #
#     Function: define axis extents within graph extents               #
#                                                                      #
#     Input Parameters:                                                #
#            xmin,xmax,ymin,ymax - window boundry                      #
#                                                                      #
#     Output Parameters:                                               #
#            none                                                      #
#                                                                      #
#     Routines Called:                                                 #
#            none                                                      #
#                                                                      #
########################################################################
real xmin, xmax, ymin, ymax
 
D 2
PLOTxREALS PLOTxGETREAL
E 2
I 2
real gtreal 
E 2

include(`pltcom')
 
DxB write (DEBUGxUNIT, 100) xmin, xmax, ymin, ymax
DxB 100 format (' grext:', 4f10.5)
 
D 2
   zplmin(1) = PLOTxGETREAL(xmin)/100.
   zplmin(2) = PLOTxGETREAL(ymin)/100.
   zplmax(1) = PLOTxGETREAL(xmax)/100.
   zplmax(2) = PLOTxGETREAL(ymax)/100.
E 2
I 2
   zplmin(1) = gtreal (xmin, 0)/100.
   zplmin(2) = gtreal (ymin, 0)/100.
   zplmax(1) = gtreal (xmax, 0)/100.
   zplmax(2) = gtreal (ymax, 0)/100.
I 3

   call gpn2dc (zplmin(1), zplmin(2), nplmin)
   call gpn2dc (zplmax(1), zplmax(2), nplmax)
E 3
E 2
 
   return
end
E 1
