Chapter 4. KmPlot Reference

Function Syntax

Some syntax rules must be complied with:

name(var1[, var2])=term [;extensions]
name

The function name. If the first character is “r” the parser assumes that you are using polar coordinates. If the first character is “x” (for instance “xfunc”) the parser expects a second function with a leading “y” (here “yfunc”) to define the function in parametric form.

var1

The function's variable

var2

The function “group parameter”. It must be separated from the function's variable by a comma. You can use the group parameter to, for example, plot a number of graphs from one function. See the P option under the section called “Extensions”.

term

The expression defining the function.