Trace:

set_column_formula

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision Next revision | Previous revision | ||

set_column_formula [Tue Jul 6 02:08:05 2010] Alexander |
set_column_formula [Mon Jan 18 17:35:05 2021] (current) Alexander |
||
---|---|---|---|

Line 1: | Line 1: | ||

====== Setting Column Formula ====== | ====== Setting Column Formula ====== | ||

- | Use Table -> Set Column Formula menu item to open column formula dialog window. | + | === There are two ways to set formula for column evaluation: === |

- | See [[formula|formula syntax]]. | + | 1. Select column and write formula in formula string. |

- | {{: | + | {{: |

+ | | ||

+ | 2. Use '' | ||

+ | | ||

+ | {{:?nolink| Set column formula dialog}} | ||

===== Row Index ===== | ===== Row Index ===== | ||

Line 13: | Line 17: | ||

== Example == | == Example == | ||

- | * You can use this behaviour to calculate [[wp> | + | * You can use this behavior to calculate [[wp> |

===== Using Table Data ===== | ===== Using Table Data ===== | ||

There are two functions to obtain current table cell values in formula: | There are two functions to obtain current table cell values in formula: | ||

- | * '' | + | * ''''A'' in the current (i-th) row. Equivalent to '' |

* '' | * '' | ||

Line 26: | Line 30: | ||

* '' | * '' | ||

- | ===== What is "at row #" Warning? ===== | + | ===== Auto Recalculation on Data Change ===== |

+ | MagicPlot can automatically recalculate formula when data in used columns are changed. Set '' | ||

+ | | ||

+ | == Example == | ||

+ | * Set formula ''is updated by other formula or processing algorithm (e.g. integral, derivative of other column). | ||

+ | | ||

+ | ===== Formula Menu in Column Context Menu ===== | ||

+ | You can edit column formula and change auto recalculation mode from column context menu or menu '' | ||

+ | | ||

+ | {{: | ||

+ | | ||

+ | ===== “Argument is out of range at row #” Warning ===== | ||

Some mathematical functions can be defined only on a certain interval. For example, square root ('' | Some mathematical functions can be defined only on a certain interval. For example, square root ('' | ||

The calculations are not terminated if NaN value occurs in some row(s). | The calculations are not terminated if NaN value occurs in some row(s). | ||

- | In some cases you may want to check if a ''Not-a-Number returned at row #//". This row number is the first row in which '' | + | In some cases you may want to check if a ''Argument is out of range at row #//". This row number is the **first** row in which '' |

===== See Also ===== | ===== See Also ===== | ||

- | * [[formula|Formula syntax]] | + | * [[expressions]] |

set_column_formula.1278367685.txt.gz · Last modified: Sun Nov 8 12:20:34 2015 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International