Google
 

Trailing-Edge - PDP-10 Archives - BB-AI48A-BM - datatrieve/vt240/date_y.cdd-plot
There are 4 other files named date_y.cdd-plot in the archive. Click here to see a list.
FQKGFzH1IF`FVFWDATESPF%FdFeYSPLF+F*XMAXF0F/CNTF6F5XMINF;F:YMINFAF@YMAXFFFEXPOSFLFKYPOSFHcH+F`HpHgHtF` 0	K8II I2IEIWIjJ#J6JdJjK3FQF`F0I)FQF%I<FQF;INF`F6IaF`InI{F6IxF6JJF6F;9J
LABELJ(F`9J*LABELJ;F0F%FQ9J=LABELF+K,FQJzKKK%K)FQF+KK"F`F+! 0K(+!K09K2HOUSEKEEP
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 = 100
	Y_AXIS = 360
	X_LENGTH = 600
	Y_LENGTH = 350
"	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)
	INCR CNT OVER DATES
	    PRINT CENTER (DATES(CNT), YS(CNT) - 9, "+", 9)
		PLOT HOUSEKEEP 2
    END
END_PLOT