Google
 

Trailing-Edge - PDP-10 Archives - BB-AI48A-BM - datatrieve/vt125/bar.cdd-plot
There are 4 other files named bar.cdd-plot in the archive. Click here to see a list.
hB5BLCD0B;B:0XLABEL0B0B@0YLABELB!B4INDEXBK0YLBLBQBbB5BAB;BGDBvB| 0B5B{0STNG BvCVALUECC"COCjB0CBvB
DECLARE STRING VECTOR STRINGS
DECLARE REAL VECTOR VALUES
DECLARE INDEX
DECLARE STRING X_LABEL, Y_LABEL
ENTRY 0 (X_LBL : STRING, Y_LBL : STRING)
    BEGIN
		X_LABEL = X_LBL
		Y_LABEL = Y_LBL
    END
ENTRY 1 (STNG : STRING, VALUE)
    BEGIN
	INDEX = SEARCH (STNG, STRINGS)
	IF INDEX EQ 0
	    INDEX = SIZE (STRINGS) + 1

	STRINGS (INDEX) = STNG
	VALUES (INDEX) = VALUES (INDEX) + VALUE
    END
ENTRY 2
    BEGIN
	PLOT DRAW_BAR 0 (X_LABEL, Y_LABEL, STRINGS, VALUES)
		PLOT DRAW_BAR 2
    END
END_PLOT