Google
 

Trailing-Edge - PDP-10 Archives - BB-AI48A-BM - datatrieve/pc350/bar.cdd-plot
There are 4 other files named bar.cdd-plot in the archive. Click here to see a list.
{\5ie\L]^0\;\:0XLABEL0\0\@0YLABEL\!\4INDEX\K0YLBL\Q\b\5\A\;\G^\v\| 0\5\{0STNG \v]VALUE]]"]O]j\0]\v\
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