15.78.17 Examples

TD:X VALUES FROM 0 to 10 by 1 creates a data set with 11 values for X 0,1,2,...10 TD:X BINS FROM 0 to 10 N=10 or ... TD:X FROM 0 to 10 by 1 BINS create a data set with 10 values for X 0.5,1.5....9.5 TD:X FROM 0 to 20 BINS POINTS=1 TO 10 generates 1,3,5,...19 for Data points 1 to 10. TD:Y=2.0 POINT=5 data point number 5 is set to 2.0 TD:DY =5 Sets all Y errors to +-5. TD:DX =.1 * X or .... TD:DX =.1 TIMES X Sets all X errors to 1. times the X value. TD:X = 1 PLUS X or ... TD:X = 1 + X Adds 1.0 to all X values. TD:X = 1 + X ERROR=0.1 Adds 1.0 to all X values and adds 0.1 in quadrature to all DX. DX=SQRT(DX**2+(0.1)**2) TD:Y = DIVIDE 5 Both Y and DY are divided by 5. TD:Y =Y * 5 ERROR=0.1 The Y coordinate is multiplied by 5, and the DY is modified according to the error. DY=5*SQRT(DY**2+(0.1*Y/5)**2) TD:SET ORDER Y TD:1.5; 3.8; 9.7 TD:X FROM 1 to 3 or.... TD:X FROM 1 BY 1 is the same as: TD:1 1.5; 2 3.8; 3 9.7 TD:DY SAMPLES=100 Each DY is now equal to SQRT(Y*(100-Y)/100). This assumes that each Y represents the number of sucesses out of a sample of 100. TD:Y=Y / V_SUM Normalizes the data to the total sum over all data. Note: This may not have the desired effect if you have more than 1 data set. To normalize only one data set: SET STATISTICS SET=2 TD:Y=Y / V_SUM Normalizes only data set 2. TD:Y="LOG(YV)" Transforms Y by taking the LOG to base 10. DY is likewise modified. Y=LOG10(Y) and DY=ABS(LOG10(Y+DY)-LOG10(Y))