Function

The dialog Function is used to perform the settings for function plots.

In the field Library in the group y(x) the path of the shared library containing the function to be chosen may be entered. The button right to the entry field opens a file selection dialog for this purpose.

The name of the Function is entered in another field. The function then may be chosen from a list in the dialog Functions, opened with the button right to the entry field.

With the button Edit a dialog Parameter may be opened, which allows to enter the values of up to 20 parameters of the function. When the option Show Function Source is activated in the Settings menu and a C or C++ language source file with the same name as the shared library with the extension .c or .cpp, respectively, is present in the same directory, its contents is displayed right to the parameter fields, too. The button Load opens a file selection dialog for loading the parameters from an text file (one parameter each line). The button Save opens a file selection dialog for saving the parameters in an text file.

The limits for the function's argument are entered using the fields xmin and xmax. With Δx the step length for the argument is set. A value of 0 results in automatically dividing the range from xmin to xmax into 100 intervals.

The x and y values can be shifted in the presentation by entering x shift and y shift values.

Factors for x normalization and y normalization may be entered manually. These factors also may be determined automatically using Autoscale with checked Normalization in the dialog Frame.

Markers (Symbol <= 0) or lines (Symbol > 0) may be chosen to present the function. This is done most convenient using the dialog Lines and Markers, to be opened with the button right to the spin box, showing the actual representation.

The Size of lines or markers may be chosen as an additional individual factor to the global setting of the corresponding frame item.

The Color of lines or markers may be chosen using the dialog Select Color, opened with the colored button.

By choosing a Fill pattern the polygon given by the points of the function can be filled with a solid color or a pattern instead of being represented by lines or markers.

The dialog Roots for finding roots of the function or of its derivatives is opened by use of the button Roots.

A function value table may be exported as a data file by use of the button Export. A file selection dialog will be opened for this purpose.

The dialog may be canceled without saving by use of the button Cancel. By using Apply changes are saved without closing the dialog. With OK changes are saved and the dialog is closed.