Our World Statistics Day conversations have been a great reminder of how much statistics can inform our lives. Do you have an example of how statistics has made a difference in your life? Share your story with the Community!
Choose Language Hide Translation Bar
Highlighted
Level II

## How to modify the heading of the bivariate analysis plot

Hello,

I am trying to create a plot with the script below. When I create the plot using the Analysis tab in JMP, I get the plot as shown in the image named "Bivariate_Fit_Desired.PNG". While I put the same script in JSL, I get the plot as shown as in the image named "Bivariate_Fit_toFix.PNG". The area where I have the issue is circled in the images and the script is below. Thanks in advance.

Best

Debraj

ns:dt <<Fit Group(

Bivariate(

Y( :THICKNESS_AVG ),

X( :DATE_TIME ),

Fit Spline( 0.1, Standardized, {Line Color( {213, 72, 87} )} ),

Where( :RIE Recipe == 150 ),

SendToReport(

Dispatch(

{},

"2",

ScaleBox,

{Max( 0.575 ), Add Ref Line( LCL_150_M, "Solid", "Black", "", 2 ),

Add Ref Line( CL_150_M, "Solid", "Black", "", 2 ),

Add Ref Line( UCL_150_M, "Solid", "Black", "", 2 )}

),

Dispatch(

{},

"Bivar Plot",

FrameBox,

{Frame Size( 547, 401 ), Marker Size( 6 ),

Marker Drawing Mode( "Outlined" ),

Row Legend(

:Data_Collection_Bin,

Color( 1 ),

Color Theme( "JMP Default" ),

Marker( 0 ),

Marker Theme( "" ),

Continuous Scale( 0 ),

Reverse Scale( 0 ),

Excluded Rows( 0 )

)}

)

)

),

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User

## Re: How to modify the heading of the bivariate analysis plot

change your "Where(:column = 150)" to "By( :REI Recipe)"....

Run your analysis again by hand and compare the "save script" to the "save by group" script.
2 REPLIES 2
Highlighted
Super User

## Re: How to modify the heading of the bivariate analysis plot

change your "Where(:column = 150)" to "By( :REI Recipe)"....

Run your analysis again by hand and compare the "save script" to the "save by group" script.
Highlighted
Level II

## Re: How to modify the heading of the bivariate analysis plot

Thanks.....that did it.
Article Labels