|
||
| Contents -> Standard User Functions -> calc.4 | |
| C-PLOT Manual | |
C.2. - calc.4Calc.4 is a general-purpose user function for manipulating your current data or creating new data. fn calc.4 fn calc.4 expression [; expression ...] or fn . . Calc.4 uses a grammar consisting of vector names (x, y etc.), variable names (upper-case letters), arithmetic operators (+, -, =, etc.), and function names ( sin(), sqrt(), log(), etc.).
The arithmetic expressions you enter are performed
for each point in the current data.
For instance, if you enter an
expression such as
y = 2 * x,
the value of each
y
in
your data set will be replaced with twice the value of the corresponding
x.
Syntax rules and examples follow.
C.2.2. - Upper-case letters C.2.3. - Operators C.2.4. - Functions C.2.5. - Other things C.2.6. - Error handling C.2.7. - Examples |
Top
|
|
Prev | Next
|
|