I have been trying to figure out how to save the smoother formula from Graph Builder using JSL with no success. I also tried to the function Spline Smooth() on a data table but that also did not work for me. What I am trying to do is automate a process that I do over and over using the column that is saved from the smoother in Graph Builder. It is quite lengthy process and I can script all parts of it except the smoother save and everything depends on the column of smoothed data. Does anyone have any ideas.
Examples of what I have tried are shown below:
Graph Builder(
Show Control Panel( 0 ),
Variables( X( :x ), Y( :y ), Overlay( :type ) ),
Elements( Points( X, Y, Legend( 14 ) ), Smoother( X, Y, Legend( 15 ) ) ),
Save Smoother Formula( 1 )
);
and
var = Graph Builder(
Show Control Panel( 0 ),
Variables( X( :x ), Y( :y ), Overlay( :type ) ),
Elements( Points( X, Y, Legend( 14 ) ), Smoother( X, Y, Legend( 15 ) ) ),
);
var << Save Smoother Formula;