### PLOTFUN

Plot a given function

#### Description:

Plot a function specified on the command line by a Fortran-like expression (using TRANSFORM, SUN/61), or through the parameters resulting from a previous fit (using a polynomial or spline).

#### Usage:

plotfun action expression [xmin] [xmax]

#### Parameters:

The type of function to be plotted. This must be one of the following:
• "FUNC" – Use a Fortran-like expression to define the function.

• "POLY" – Use a set of polynomial coefficients to define the function.

• "SPLINE" – Use a set of spline coefficients from the file SPLINEFILE to define the function.

[The value is prompted for.]

The Fortran-like expression to be plotted, in terms of X.

[The value is prompted for.]

The value of X from which the function is plotted.

[The value of the global parameter PONGO_XMIN is used.]

The value of X to which the function is plotted.

[The value of the global parameter PONGO_XMAX is used.]

Used when ACTION is "POLY". If TRUE then the polynomial coefficients are stored in a file (the first line of which is the order of the polynomial), otherwise the coefficients are given using the POLYCOEF parameter.

[FALSE]

##### NPOLY = _INTEGER (Read and Write)
The order of the polynomial: used when ACTION is "POLY".

[The value of the global parameter PONGO_NPOLY is used.]

A list of polynomial coefficients: used when ACTION is "POLY".
The name of the file containing the coefficients and knot positions from a previous spline fit – used when ACTION is "SPLINE".