plaxfit
plot axes fitted to a set of datapoints
parameter | type | units | description |
---|---|---|---|
*x | float* | uu | pointer to an array of x-values |
*y | float* | uu | pointer to an array of y-values |
n | int | -- | size of the x- and y-arrays |
dproc | float | -- | empty space between the plotted points and the axes |
xl | float | mm | x-axis length |
yl | float | mm | y-axis length |
*xtext | char* | -- | text along the x-axis (lower right) |
*ytext | char* | -- | text on top of the y-axis (upper left) |
*text | char* | -- | 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