Constants Configuration

To open this dialog select EditConstants... from the menubar.

Screenshot of the Constants dialog

Constants can be used as part of an expression anywhere inside of KmPlot. Each constant must have a name and a value. Some names are invalid, however, such as existing function names or existing constants.

There are two options that control the scope of a constant:

Document

If you select the Document checkbox, then the Constant will be saved along with the current diagram when you save it to file. However, unless you have also selected the Global option, the constant will not be available between instances of KmPlot.

Global

If you select the Global checkbox, then the Constant's name and value will be written to KDE settings (where it can also be used by KCalc). The constant will not be lost when KmPlot is closed, and will be available again for use when KmPlot is started again.