Google
 

Trailing-Edge - PDP-10 Archives - BB-AI48A-BM - datatrieve/vt100/date_y.cdd-plot
There are 4 other files named date_y.cdd-plot in the archive. Click here to see a list.
{\Qie\z^1\\`\V\WDATESP\%\d\eYSPL\+\*XMAX\0\/CNT\6\5XMIN\;\:YMIN\A\@YMAX\F\EXPOS\L\KYPOS\^c^+\`^p^g^t\` 0	a>	 2EWj`#`6`d`m`qa2a9\Q\`\0)\Q\%<\Q\;N\`\6a\`n{\6x\6``\6\;9`
LABEL`(\`9`*LABEL`;\0\%\Q9`=LABEL`j 0`l\+a*\Qaa&aa\Q\+\`\+ 0a)`a. 0a1a69a8HOUSEKEEP
DEFINE PLOT DATE_Y
DECLARE REAL	X_AXIS, Y_AXIS, X_LENGTH, Y_LENGTH
!DECLARE REAL	X_MAX, CNT, X_MIN, Y_MIN, Y_MAX, X_POS, Y_POS, INDEX
TES, YS
ENTRY 0 (X_LABEL : STRING, Y_LABEL : STRING)
    BEGIN
		PLOT HOUSEKEEP 0
	X_AXIS = 10
	Y_AXIS = 1
	X_LENGTH = 62
	Y_LENGTH = 21
"	PLOT LABEL 0 (X_AXIS,Y_AXIS, X_LENGTH, Y_LENGTH, X_LABEL, Y_LABEL)
    END
ENTRY 1 (X : DATE, Y)
    BEGIN
	DATES (SIZE (DATES) + 1 ) = X
1 ) = Y
    END
! Print scatter plot
ENTRY 2
    BEGIN
		SORT (DATES, YS)
	X_MIN = MIN (DATES)
	X_MAX = MAX (DATES)
		Y_MAX = MAX (YS)
		Y_MIN = MIN (YS)
	IF Y_MIN > 0

	    THEN Y_MIN = 0
	PLOT LABEL 3 (Y_MIN, Y_MAX)

	PLOT LABEL 8 (YS)
	PLOT LABEL 6 (X_MIN, X_MAX, DATES)
	PRINT ""
	INCR CNT OVER DATES
	    PRINT TXY (DATES(CNT), YS(CNT)), "`"
	PRINT ""
		PLOT HOUSEKEEP 2
    END
END_PLOT