Google
 

Trailing-Edge - PDP-10 Archives - BB-AI48A-BM - datatrieve/vt240/multi_bar.cdd-plot
There are 3 other files named multi_bar.cdd-plot in the archive. Click here to see a list.
HWaH#L3MP HHY_LEN GaH
YASPECTGgGeSTRIDEGmGkPOINTSGsGqYORIGINGyGwYBASEG%G}YHIGH0G9G*0G+LLABELF]FxKFcFbKOUNT1FLFgOFFSET2FRFQBARWIDTH3FXFWBARX F*F\BARY F/F.YREF F5F4YLENGTH F;F:YMIN F@F?YMAX FFFEYSCALE F
H-H<HEHPHZHeHiHII-ICIYIrJJJ6JDJRJaKAKIH)9H+HOUSEKEEPH4 0H7S(M 1(AH150L45S100)2(AH150L30S66)3(AH150L45S66))HB 0HDL(A1)HK 0
HML"X"FFFFFFFFFFFFFFFFHU 0
HXL"Y"FFFFFFFFFFFFFFFFH` 0
HbL"Z"FFFFFFFFFFFFFFFFHrHzGMHw00H|XIIGII7I>GMI;P0IAYIMITGIQPYPIcHG%IgPI{JGMJX0JZJJGJXXJ'HG%J,XF
L(FyMMMFy 0M0L-FyM>M5MBFy 0WM
MTN
N*NfNyO%OhOoPP-PGPjQQEQNQRV&VMW<WHFLMd	FNMuM|MnMyF]Mr 0G9 0FiNF]FL	N#(F
FyF;O
FyO
F5F;9OLABEL

O+(F5F;GgGaGs9O-LABEL

GyP
PGsGgGaHP#GyGsHP=F/HGmPVF*P`HGsPoP|GyPyGmQF*F/QQ'GsQ$GmF*Q6Fy9Q8LABELQJ 0QM@:A FiV!G9QcRR&QlF*GQzQqRG 0FcR	RR#FiR 0 XFnR1F]V 0R9SS.UZVFRRH
FFLS	RsSRcR}R\RlFiR` 0F]Rp 0FnS 0 0FXS
FyS%FcFn	S3USFXSB
F*SF 0SeT	T;UU(UOSJSOSa 0SMW(I0SSYGmS] 0 0Sd)PSjSyT	FRFX

 0S{V	FL	TTT#T7 0TT(A1)W(STGmT  0T,GMFn 0T:)T@TDTWT\TlTq 0TCW(ITMGFn 0TY)P	FRFX

 0ToV	T{FLT	 0UU
UU 0UW(S0)P	FRGm
 0UVFX
U.U>	U7FLU;	 0UHGmUL 0UcVGUqUhUuG 0FyV
FcFn	V0VT(A0)V0F*GV=V4VAG 0VJ 0VL@;@AVQHF
DECLARE X_REF, X_LENGTH, X_MIN, X_MAX, X_SCALE
DECLARE Y_REF, Y_LENGTH, Y_MIN, Y_MAX, Y_SCALE, Y_LABEL
DECLARE BAR_WIDTH, BAR_X, BAR_Y
DECLARE KOUNT, OFFSET

DECLARE CNT, JT, K
DECLARE VECTOR Y_VALUE, Y_MX, COLOR
DECLARE STRING VECTOR L_LABEL, X_LABEL, HATCH
DECLARE REAL STRIDE, POINTS, Y_ORIGIN, Y_BASE, Y_HIGH
DECLARE REAL Y_LEN, Y_ASPECT
ENTRY 0 (X_LABEL : STRING,
         LABEL_1 : STRING,
         LABEL_2 : STRING,
         LABEL_3 : STRING)
BEGIN
    PLOT HOUSEKEEP 0
    PRINT "S(M 1(AH150L45S100)2(AH150L30S66)3(AH150L45S66))"
	    PRINT "L(A1)"
    PRINT "L""X""FFFFFFFFFFFFFFFF"
    PRINT "L""Y""FFFFFFFFFFFFFFFF"
    PRINT "L""Z""FFFFFFFFFFFFFFFF"
    HATCH(1) = "X"   COLOR(1) = 1   L_LABEL(1) = LABEL_1
    HATCH(2) = "Y"   COLOR(2) = 2   L_LABEL(2) = LABEL_2
    HATCH(3) = "Z"   COLOR(3) = 3   L_LABEL(3) = LABEL_3
"    X_REF = 100    Y_REF = 360    X_LENGTH = 600    Y_LENGTH = 350
!    PLOT LABEL 0 (X_REF,Y_REF,X_LENGTH,Y_LENGTH,X_LABEL,Y_LABEL)
LLABEL
        IF LENGTH(L_LABEL(CNT)) NE 0 THEN
            KOUNT = KOUNT + 1
END
ENTRY 1 (X : STRING, Y1, Y2, Y3)
BEGIN
    X_LABEL(SIZE(X_LABEL) + 1) = X
    Y_VALUE(SIZE(Y_VALUE) + 1) = Y1
    Y_VALUE(SIZE(Y_VALUE) + 1) = Y2
    Y_VALUE(SIZE(Y_VALUE) + 1) = Y3
END
ENTRY 2
BEGIN
     BAR_WIDTH = X_LENGTH / (((KOUNT + 1) * SIZE(X_LABEL)) + 1)
    CNT = KOUNT * BAR_WIDTH
    PLOT X_LABEL 0 (X_REF, Y_REF, CNT, BAR_WIDTH, X_LABEL)
N(YVALUE)
VALUE)
    PLOT LABEL 3 (Y_MIN,Y_MAX)
    PLOT LABEL 10 (Y_MIN, Y_MAX, POINTS, STRIDE, Y_BASE)
    Y_HIGH = POINTS * STRIDE + Y_BASE
    Y_LEN = Y_HIGH - Y_BASE
    Y_ASPECT = Y_LENGTH / Y_LEN
    Y_ORIGIN = Y_REF + (Y_ASPECT * Y_BASE)

    IF Y_HIGH LE 0 THEN
	Y_ORIGIN = Y_REF - Y_LENGTH

    IF Y_BASE GE 0 THEN
		Y_ORIGIN = Y_REF
    PLOT LABEL 8 (Y_VALUE)
	    PRINT "@:A "
R XLABEL
    BEGIN
        Y_MX(SIZE(Y_MX) + 1) = Y_REF
        OFFSET =     (CNT - 1) * 3
        INCR JT FROM 1 TO KOUNT
        BEGIN
	*            BAR_X = X_REF + BAR_WIDTH * (((CNT - 1) * (KOUNT + 1)) + (JT - 1) + 1)
            BAR_Y = Y_VALUE(OFFSET + JT)
            IF BAR_Y LT (Y_REF - 1) THEN
	            BEGIN
                PRINT "W(I0S", LY(Y_ORIGIN - 1), ")P"
                PRINT LXY(BAR_X,BAR_Y), "V", RX(BAR_WIDTH)
%                PRINT "T(A1)W(S", LY(Y_ORIGIN - 1), QUOTE(HATCH(JT)), ")"

/                PRINT "W(I", CVT(COLOR(JT)), ")P", LXY(BAR_X,BAR_Y), "V", RX(BAR_WIDTH  - 1)
"                PRINT "W(S0)P", LXY(BAR_X,Y_ORIGIN), "V", LY(BAR_Y)
                PRINT RX(BAR_WIDTH - 1), LY(Y_ORIGIN - 1)
            END
            Y_MX(SIZE(Y_MX) + 1) = Y_VALUE(OFFSET + JT)
 "T(A0)"
        END
    END
    Y_MX(SIZE(Y_MX) + 1)=Y_REF
	    PRINT "@;@A"

/    PLOT LEGEND 3 (X_REF, Y_REF, X_LENGTH, Y_LENGTH, BAR_WIDTH, Y_MX, HATCH, COLOR, L_LABEL)
    PLOT HOUSEKEEP 2
END
END_PLOT