|
User-defined transforms |
|
|
User-defined transforms At the top of the Parameters dialog for transforms, choose user-defined X functions or user-defined Y functions. Select a user-defined transform you have used before or enter a new one.
Different transforms for different datasets You can write equations so different data sets get different transforms. Put <B> in front of a line in your transform that only applies to data set B. Put <~A> in front of a line that applies to all data sets except data set A.
IF (conditional expression, value if true, value if false) You can precede a conditional expression with NOT, and can connect two conditional expressions with AND or OR. Examples of conditional expressions: MAX>100 Note: “<>” means not equal to, “<=” means less than or equal to, and “>=” means greater than or equal to. Here is an example. Y= IF (Y<Y0, Y, Y*Y) If Y is less than Y0, then Y is unchanged. Otherwise Y is transformed to Y squared. Here is a function that returns Y if Y is positive or zero, but otherwise leaves the results blank. In other words, it removes all negative values. The way to leave a result blank is to do an impossible mathematical transform such as dividing by zero. Y = IF (Y<0, Y/0, Y)
|