MagicPlot Manual

Plotting and nonlinear fitting software

User Tools

Site Tools


set_column_formula

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
set_column_formula [Sun May 29 13:20:14 2011]
Alexander
set_column_formula [Mon Jun 3 16:48:47 2013]
Alexander
Line 1: Line 1:
 ====== Setting Column Formula ====== ====== Setting Column Formula ======
-Use Table -> Set Column Formula menu item to open column formula dialog window. See [[formula|formula syntax]] for details.+=== There are two ways to set formula for column evaluation: ===
  
-{{:column_formula.png| Set column formula dialog}}+1. Select column and write formula in formula string. 
 + 
 +{{:column-inspector.png?nolink|}} 
 + 
 +2. Use ''Table -> Set Column Formula'' menu item to open column formula dialog window. See [[formula|formula syntax]] for details. 
 + 
 +{{:column_formula.png?nolink| Set column formula dialog}}
  
 ===== Row Index ===== ===== Row Index =====
Line 33: Line 39:
 You can edit column formula and change auto recalculation mode from column context menu or menu ''Table''. Select exactly one column and open context menu to view this menu items. You can edit column formula and change auto recalculation mode from column context menu or menu ''Table''. Select exactly one column and open context menu to view this menu items.
  
-{{:formula_submenu.png|Formula Menu}}+{{:formula_submenu.png?nolink|Formula Menu}}
  
-===== About "Argument is out of range at row #Warning =====+===== Argument is out of range at row #” Warning =====
 Some mathematical functions can be defined only on a certain interval. For example, square root (''sqrt(x)'') is not defined for negative numbers (all calculations in MagicPlot are made in real numbers, not complex). Hence if the argument of ''sqrt'' is negative, a [[nan|Not-a-Number (NaN)]] is returned. If a NaN value occurs in some part of formula, the result of calculation will also be a NaN, and corresponding table cells will be empty. Some mathematical functions can be defined only on a certain interval. For example, square root (''sqrt(x)'') is not defined for negative numbers (all calculations in MagicPlot are made in real numbers, not complex). Hence if the argument of ''sqrt'' is negative, a [[nan|Not-a-Number (NaN)]] is returned. If a NaN value occurs in some part of formula, the result of calculation will also be a NaN, and corresponding table cells will be empty.
  
 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 ''NaN'' values occurs in calculations. MagicPlot shows the warning "//NArgument is out of range at row #//". This row number is the **first** row in which ''NaN'' value was returned. MagicPlot also highlights the function or operator which first produces NaN value.+In some cases you may want to check if a ''NaN'' values occurs in calculations. MagicPlot shows the warning "//Argument is out of range at row #//". This row number is the **first** row in which ''NaN'' value was returned. MagicPlot also highlights the function or operator which first produces NaN value.
  
 ===== See Also ===== ===== See Also =====
   * [[formula|Formula syntax]]   * [[formula|Formula syntax]]
set_column_formula.txt · Last modified: Sun Nov 8 12:21:24 2015 (external edit)