wn_data_polyfit_c

	status.i4.v = wn_data_polyfit_c(order.i4.v, coefficients.r4a.r)

	This routine finds a polynomial fit for the saved data set of the
	active graphic window.

	order		order of the polynomial
	coefficients	array of coefficients for each term

	This function returns ACNET status values as follows:

	OK			success
	CBS_NOSETUP		an active window has not been established
				or no data has been saved
	CBS_MEMFAIL		failed in allocating dynamic memory
	CBS_NODAT		no valid data points for this request
	CBS_CORRUPT		unsuccessful calculation

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	wn_data_save(_c), wn_data_set_cut_c, wn_data_mean, wn_data_extrema,
	wn_data_recall, wn_data_query, wn_data_fft_c, intro_graphics_windows

	C/C++ usage:

	int	status;
	int	order = ORDER;
	float	coefficients[ORDER+1];

	status = wn_data_polyfit_c(order,coefficients);