plaxfit

plot axes fitted to a set of datapoints

parametertypeunitsdescription
*xfloat*uupointer to an array of x-values
*yfloat*uupointer to an array of y-values
nint--size of the x- and y-arrays
dprocfloat--empty space between the plotted points and the axes
xlfloatmmx-axis length
ylfloatmmy-axis length
*xtextchar*--text along the x-axis (lower right)
*ytextchar*--text on top of the y-axis (upper left)
*textchar*--text under the picture (lower left)
returns:void

Description

plaxfit plots axes such that the data in x and y, if plotted by plpline, do not come closer than dproc percent of x/yl to the x/y-axis. All other parameters and variables are as in plaxes.

Examples

plinit PS plaxfit A4 50 50 "" ""
plrdxy 5 0 0 2 8 3 100 4 1 5 0
plaxfit 5 20 50 50 xtext ytext text
plpline 5 "" DOWN
plframe 5 3

plaxfit

See also

plsmooth