Hi all,
How can I save the Predicteds formula in a Bivariate plot using JSL?
Go to Solution
Here is an example
Names Default To Here( 1 ); dt = Open( "$SAMPLE_DATA/Big Class.jmp" ); obj = dt << Bivariate( Y( :Weight ), X( :Height ) ); obj << Fit line( {Save Predicteds} );
Taken from the Scripting Index, with small modification
View solution in original post
Here is another way to show the flexibility of Bivariate.
Names Default To Here( 1 ); dt = Open( "$SAMPLE_DATA/Big Class.jmp" ); obj = dt << Bivariate( Y( :Weight ), X( :Height ), Fit Line( 1 ) ); obj << (Curve[1] << Save Predicteds);