12.12. - pg
get points from the plot program
copies C-PLOT's current data points to fit's data points.
pg [x [y]]C-PLOT has many more ways of reading in data than the fit function. Entering
pg
replaces the current set
of points in the fit function with those from the plot program, setting
the weights according to the current weight mode.
Only as many points as will fit will be transferred. You select how many fit points are allowed at the top of the prototype C-module for your fit. (See the section "Adding your model equation to the prototype" at the end of this chapter.)
You can select which independent variable (if there is more than one) receives the plot x data by entering a value for the
x
argument in 2D exchange mode.
In 3D exchange mode, you can enter
x
and
y
arguments to indicate which independent variables receive
the plot
x
and
y
data.
The
pg
command is only available when the fit process is run
as a type-5 user function from C-PLOT.