home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-06-15 | 742 b | 26 lines | [TEXT/DWat] |
- % graphpane_setup numxpanes numypanes xpanegap ypanegap
-
- % Call this script before running graphpane.
-
- % numxpanes - number of panes in x direction
- % numypanes - number of panes in y direction
- % xpanegap - gap between panes (in page units)
- % ypanegap - gap between panes (in page units)
- % •Note: gaps can be zero.
-
- % •Note: Uses the currennt setting of the graphframe
- % for the frame which bounds the array of panes.
-
- set numxpanes &1
- set numypanes &2
- set xpanegap &3
- set ypanegap &4
-
- set gleft_panes gleft
- set gright_panes gright
- set gbottom_panes gbottom
- set gtop_panes gtop
-
- set panewidth gright_panes gleft_panes - numxpanes 1 - xpanegap * - numxpanes /
- set paneheight gtop_panes gbottom_panes - numypanes 1 - ypanegap * - numypanes /
-