Google
 

Trailing-Edge - PDP-10 Archives - BB-AI48A-BM - datatrieve/vt125/logx_logy.cdd-plot
There are 4 other files named logx_logy.cdd-plot in the archive. Click here to see a list.
hBLBuD+EBZBPBQXSPB;BB`YSPBAB@XPOSBFBEYPOSBDBiBo0BLBm0XLABEL0BiBs0YLABELB}CCCC/DBz9B|HOUSEKEEPBBZDnDeDrBZ 0D%UEEE+E>EiTT*T/U
B+EBLB%E"BLB6E5BZB0EGBZEPB0B69ERLABELEoB+B%BL9EqLABELTBZ9TLABELBFUBLT?TCTuTz 0TBp	TVTmTLTZBLBF tTcTqBZBF! 0TxtT~ 0U+U9U	HOUSEKEEPDEFINE PLOT LOGX_LOGY
$DECLARE X_AXIS, Y_AXIS, X_LENGTH, Y_LENGTH, X_MAX, X_MIN, Y_MIN, Y_MAX
POS, CNT
DECLARE VECTOR XS, 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, Y)
    BEGIN
	XS (SIZE (XS) + 1 ) = LOG (X)
	YS (SIZE (YS) + 1 ) = LOG (Y)
    END
! Print scatter plot
ENTRY 2
    BEGIN
		X_MIN = MIN (XS)
		X_MAX = MAX (XS)
		Y_MAX = MAX (YS)
		Y_MIN = MIN (YS)
	PLOT LABEL 5 (Y_MIN, Y_MAX)
	PLOT LABEL 4 (X_MIN, X_MAX, XS)

	PLOT LABEL 8 (YS)
		INCR CNT OVER XS
		PRINT "p", LXY (XS(CNT) - 5, YS(CNT) - 9), "t", QUOTE ("+")
		PLOT HOUSEKEEP 2
    END
END_PLOT