16.4 EXAMPLES

TD:TITLE TOP 'Mean=' T_MEAN Writes the mean of our data at the top of the current plot. TD:SET ORDER X Y DX DY TD:DATA SET TD:V_MEAN,V_SUM,V_ESTD,V_ESUM TD:DELETE SET=FIRST Creates a new data set containing the Y=SUM, X=MEAN, DX=STD, DY=error on SUM, then deletes the old data set. TD:IF V_FIT[1] .gt. 0 TITLE 'Coef(1)=',T_COEFFICIENT[1] Writes coefficient 1 if it has been fit. TD:SET STATISTICS LIMITED FROM 0,1 to 5,10 TD:TITLE TOP 'Sum=',T_SUM,' between x=0,5 y=1,10' Plot a title with the sum over the data between limits on x,y. TD:SET STATISTICS SET=2 TD:TITLE TOP 'Sum=',T_SUM,' for data set 2' Plot a title with the sum over data set 2.