# Configuring &kmplot;

To access the &kmplot; configuration dialog, select Settings Configure &kmplot;.... A number of settings (Colors..., Coordinate System..., Scaling... and Fonts...) can only be changed from the Edit menu.

## General Configuration

Here you can set global settings which automatic will be saved when you exit &kmplot;. In the first page you can set calculation-precision, angle-mode (radians and degrees), background color and zoom in and zoom out factors.

screenshot of the &kmplot; settings dialog screenshot of the &kmplot; settings dialog

The second page let you define you own constants. &kmplot; saves the constants in the same file as &kcalc; does. That means you can create a constant in &kmplot;, close the program and load it in &kcalc; and vice versa. &kmplot; only supports constant names that consist of one capital character and if you in &kcalc; define a constant name that is not one character, the name will be truncated. E.g, if you already have the constants "apple" and "bananas" in &kcalc;, they will be renamed to "A" and "B" in &kmplot;.

## Colors Configuration

In the Coords tab of the Colors configuration dialog, you can change the colors of the axes and grid of the main &kmplot; area.

screenshot of the colors configuration dialog screenshot of the colors configuration dialog

In the Default Function Colors tab, you can change the colors used for the graphs of the ten functions allowed in &kmplot;.

## Coordinate System Configuration

### The Axes Configuration

X-Axis

- Sets the range for the x-axis scale. You can choose one of the predefined ranges, or select Custom to make your own. Note that in the Custom boxes, you can use the predefined functions and constants (see func-predefined) as the extremes of the range (⪚, set Min: to `2*pi`). You can even use functions you have defined to set the extremes of the axis range. For example, if you have defined a function `f(x)=x^2`, you could set Min: to `f(3)`, which would make the lower end of the range equal to 9.

Y-Axis

- Sets the range for the y-axis. See X-Axis above.

Axis-line width:

- Sets the width of the lines representing the axes.

Tic width:

- Sets the width of the lines representing tics on the axes.

Tic length:

- Sets the length of the lines representing tics on the axes.

Show labels

- If checked, the names (x, y) of the axes are shown on the plot and the axes' tics are labeled.

Show extra frame

- If checked, the plot area is framed by an extra line.

Show axes

- If checked, the axes are visible.

Show arrows

- If checked, the axes are displayed with arrows at their ends.

### The Grid Configuration

You can set the Grid Style to one of four options:

None

- No gridlines are drawn on the plot area

Lines

- Straight lines form a grid of squares on the plot area.

Crosses

- Crosses are drawn to indicate points where x and y have integer values (⪚, (1,1), (4,2) &etc;).

Polar

- Lines of constant radius and of constant angle are drawn on the plot area.

The Line width option is used to set the width of the lines of the grid.

## Scaling Configuration

screenshot of the scaling configuration dialog screenshot of the scaling configuration dialog

For each axis, you can set the Scaling: and Printing: of one tic. The Scaling: option selects how many units apart the axis tics will be (and therefore, how far apart grid lines will be drawn), and the Printing: option selects the length of one tic when displayed on the screen or printed. In this way, these options can be used to change the size of the graph on screen or on a page: For example, doubling the Printing: setting whilst keeping the Scaling: setting the same will result in the graph doubling in in height or width.

## Fonts Configuration

screenshot of the fonts configuration dialog screenshot of the fonts configuration dialog

Header table: sets the font for the information table shown in &kmplot; printouts, and Axis font: and Axis font size: sets the font and its size used for all labels on the axes in the plot area.