An extension for a function is specified by entering a semicolon,
followed by the extension, after the function definition. The extension can be entered by using the D-Bus method “parser addFunction
”. None of the extensions are available
for parametric functions but N and D[a,b] work for polar functions too. For example:
f(x)=x^2; A1
will show the graph y=x2 with its first derivative. Supported extensions are described below:
- N
The function will be stored but not be drawn. It can be used like any other user-defined or predefined function.
- A1
The graph of the derivative of the function will be drawn additionally with the same color but less line width.
- A2
The graph of the second derivative of the function will be drawn additionally with the same color but less line width.
- D[a,b]
Sets the domain for which the function will be displayed.
- P[a{,b...}]
Give a set of values of a group parameter for which the function should be displayed. For example:
f(x,k)=k*x;P[1,2,3]
will plot the functions f(x)=x, f(x)=2*x and f(x)=3*x. You can also use functions as the arguments to the P option.
Please note that you can do all of these operations by editing the items in the Derivatives tab, the Custom plot range section and the Parameters section in the Functions sidebar too.