10  Plotter

This tool allows the visualization of functions. In the [1D] mode up to three one dimensional functions of the form \(f(x) = ...\) can be plotted.
The function is only plotted if the checkbutton on the left of the defintion is switched on.

The Plotter Widget

The Plotter Widget

In the [2D] mode a parametrized two dimensional function of the form
\(x(t) = ...\)
\(y(t) = ...\)
can pe plotted.

The following math functions can be used within the formulas:
\(\verb# acos asin atan cos cosh exp log log10#\)
\(\verb# pow sin sinh sqrt tan tanh abs#\)
The formulas can be defined with up to 5 parameters (\(a, b, c, d, e\)).

10.1 Plot

The defined function is plotted according to the settings of the independent variable \(x\) in [1D] mode or \(t\) in [2D] mode.
The axes can either be set by the sliders or set by Scale or AutoScale

10.2 Scale

The \(x\) and \(y\)ranges of the plotting area for the slope field can be set.
Applying the input values by [Apply] refreshes the slope field;
[Cancel] just closes the window and rejects the changes.

10.3 ReSetScale

This button resets the the range of the plotting area to the initial values.

10.4 Autoscale

The maximum values of \(x\) and \(y\) are evaluated and the plotting area is adapted to those values accordingly.

10.5 PosScale

The \(x\) and \(y\) range is shifted to the positive quadrant.

10.6 Clear

Clear clears the output window.

10.7 Coordinates

A left mouse click in the output windows shows a horizontal line within the output window at the actual \(y\)-coordinate and its value, a right mouse click shows a vertical line within the output window at the actual \(x\)-coordinate and its value.

10.8 Check Buttons

Show Coor.

If Show Coor. is switched on the coordinates in the slope field are shown at the mouse pointer.

AutoScale

If AutoScale is switched on the definition of a scaling/zooming area by <Shift>-Left Mouse Button is directly applied.
Otherwise Shift-Right Mouse Button will initiate the scaling.
If a scaling rectangle is drawn but should not apply, it can be erased by pressing the <Escape> - key on the keyboard.

10.9 Load, Save & Edit

Equations, parameter values and coordinates can be saved in a file.
These files get automatically the extension .tgp in [1D] mode resp. .tgt in [2D] mode and are stored normally in <Path to Mathtools>/fracfiles.
Before loading a file the mode ([1D] or [2D]) must be selected.
After loading the file the equations, parameter values and the stored coordinate values are set.
The files can also be edited to set f.e. coordinate values which not provided by default.
The editor must be set in [Custom].

10.10 PS print/Print

A Postscript output is generated and stored in <Path to Store Directory>/plots.
The PS-files are named automatically.

10.11 Grace print

An xmGrace output is generated and stored in <Path to Store Directory>/plots.
The xmgr-files are named automatically.