Bivariate Group by Line ColorHi all,
I am try to plot a bivariate table with polynomial fit degree. But the line color doesn't change with accordance to the group. Please help
data table("Stacked12") << Bivariate( Y(:HOURS STUDY), X(: TEST SCORE), <BR /> GroupBy( :NAME( "SEX" ) ), Fit Polynomial(2),
SendToReport(
Dispatch( {}, "Bivar Plot", FrameBox,
{Row Legend(
SEX,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 ))})
))Data TableGraphicsScriptingRe: Bivariate Group by Line ColorUsing your code, just changing the column references to continuous columns in the Big Class data table, I tested the script back to JMP 11, and could not replicate your findings. What version of JMP are you using, and what operating system
My version of your script
Names Default To Here( 1 );
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );
Data Table( "big class" ) << Bivariate(
Y( :height ),
X( :weight ),
GroupBy( :NAME( "SEX" ) ),
Fit Polynomial( 2 ),
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
{Row Legend(
SEX,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
)
)
);