This is an old revision of the document!
To be released in fall 2020.
This is a draft document. The features described are subject to change.
In MagicPlot 2.10 you can set variables in formulas: write an assignment and a semicolon to separate it from the next part of the formula, for example: a=5; a*a + 2*a + 1
. The last expression (after the last semicolon) is the result of the formula and cannot contain an assignment.
MagicPlot highlights all usages of the variable at cursor in the edited formula.
Due to introduction of variables you can copy the fit equation from the Report tab of a Fit Plot and paste it in any formula field including Column Formula:
We have simplified Column Formula syntax: column and cell values can be inserted using $A
and $A$1
instead of col(A)
and cell(A, 1)
. The old notation also works.
The new notation only works with constant column/cell indexes. Use col/cell functions if you need to vary the index, ex. col(i)
and cell(i-1, j+1)
.
The same formula can be set for multiple selected columns. You can use this feature to compute matrices