MagicPlot Manual

Plotting and nonlinear fitting software

User Tools

Site Tools


expressions

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
expressions [Sat Jan 16 17:01:58 2021]
Alexander
expressions [Sat Jan 16 17:02:23 2021]
Alexander
Line 33: Line 33:
 You can freely insert space characters and line breaks in formula, but do not break function names, numbers, operators. You do not need to enter special characters to indicate line break. You can freely insert space characters and line breaks in formula, but do not break function names, numbers, operators. You do not need to enter special characters to indicate line break.
  
-===== Setting local variables =====+===== Local variables in expression =====
  
 You can set a local variables in expression. Use semicolon to separate variable assignments and the result expression: ''a=5; a*a + 2*a + 1''. The expression after the last semicolon is the result expression. The variables are calculated in the present order so you need to assign the variable before usage. You can set a local variables in expression. Use semicolon to separate variable assignments and the result expression: ''a=5; a*a + 2*a + 1''. The expression after the last semicolon is the result expression. The variables are calculated in the present order so you need to assign the variable before usage.
expressions.txt ยท Last modified: Sat Jan 16 17:25:32 2021 by Alexander