Chapter Contents |
Previous |
Next |
The NETDRAW Procedure |
In this example, the construction project described in Example 5.7 is used to illustrate some more timescale options. First, the REFBREAK option indicates breaks in the time axis by drawing a zigzag line down the diagram before each tick mark corresponding to a break. The CREFBRK= and LREFBRK= options control the color and line style for these lines. The network diagram is shown in Output 5.10.1.
title f=swiss j=l h=1.5 ' Site: Old Well Road'; title2 f=swiss j=l h=1.5 ' Date: January 1, 1992'; footnote f=swiss j=r 'Time Scale Options: Reference Breaks '; proc netdraw data=sched graphics; actnet / act = task font=swiss dur = duration succ = (succesr1-succesr3) dp compress separatearcs htext=2 timescale refbreak lrefbrk = 33 carcs = cyan crefbrk = blue; run;Output 5.10.1: Time-Scaled Network: Reference Breaks
Next, PROC NETDRAW is invoked with the LINEAR option so that there is no break in the time axis. The BOXWIDTH= option limits the size of each node. The diagram is drawn in Output 5.10.2.
footnote f=swiss j=r 'Time Scale Options: Linear Diagram '; proc netdraw data=sched graphics; actnet / act = task font=swiss dur = duration succ = (succesr1-succesr3) dp pcompress novcenter vmargin = 10 separatearcs htext=2 carcs=cyan id=(task) nodefid nolabel boxwidth=7 timescale linear frame; run;
Output 5.10.2: Time-Scaled Network: LINEAR Option
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.