
LETName:
LET Y = (X**LAMBDA1)/LAMBDA LET Y(3) = LOG(4.5)2**3.8 LET M = MEAN Y LET X = SEQUENCE 1 .1 10 LET X = PATTERN 1 1 2 2 3 3 FOR I = 1 1 30 LET X = NORMAL RANDOM NUMBERS FOR I=1 1 80 LET Y2 = SORT Y LET FUNCTION F = C*EXP(X*X/2) LET A = INTEGRAL F WRT X FOR X 0 TO 1
HELP TRIGONOMETRIC FUNCTIONS HELP PROBABILITY FUNCTIONS HELP STATISTICS HELP MATH OPERATIONS HELP RANDOM NUMBERS You can help for individual subommands by entering:
The help for the individual subcommands gives the syntax for that command. The capabilities under LET are documented in Volume II of the Dataplot Reference Manual.
Dataplot would previously return an error. The 2018/10 version of Dataplot was updated so that if a command is not matched, the command does not start with LET, and the command contains an "=" character, Dataplot will insert a "LET " at the beginning of the command string and try to match the command again. Note that using "LET" to start the command is still the preferred syntax since this new syntax is only attempted if the first word of the command line does not match a Dataplot command. For example, "X", "R", "S", and "W" are shortcuts to existing commands, so the following will not work
W = W + 1 R = R + 1 S = S + 1 Note that if the left hand side name matches an existing Dataplot command, this syntax of leaving off the LET will fail.
2018/10: Syntax with "LET" omitted
LET FUNCTION F = SIN(X) LET Y = F
LET YMEAN = MEAN Y LET YSD = SD Y  
Date created: 11/06/2018 Last updated: 12/04/2023 Please email comments on this WWW page to alan.heckert@nist.gov. 