# Configuring &kmplot;

To access the &kmplot; configuration dialog, select Settings Configure KmPlot.... A number of settings can also be changed from options in the Edit menu, as well.

Settings changed in the &kmplot; configuration dialog become the default for &kmplot;, and only take effect when a new plot is started. Settings changed in the View menu take effect immediately, but do not persist after &kmplot; is exited.

## General Configuration

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

The second tab let you define you own constants. &kmplot; saves the constains 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 one capital character and if you in KCalc define a constant name that isn't one character, the name will be truncated. E.g, if you already have the constants "apple" and "ananas" in KCalc, they will be renamed to "A" and "B" in &kmplot;.

Here's a screenshot of the &kmplot; welcome window
Screenshot

## Colors Configuration

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

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

## Coords 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 ) as the extremes of the range (&eg;, 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.

Axes 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.

Labels

  If checked, the names (x, y) of the axes are shown on the plot.

### The Grid Configuration

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

No Grid

  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 (&eg;, (1,1), (4,2) &etc;).

Polar Grid

  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.

### The Fonts Configuration

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

## Scaling Configuration

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.