Here is a simple example.
![txnelson_1-1670294081868.png txnelson_1-1670294081868.png](https://community.jmp.com/t5/image/serverpage/image-id/47951iD62DB268A53578C1/image-size/medium?v=v2&px=400)
I developed it interactively by using the Customize Graph designer dialog box available by right clicking on the graph and selecting "Customize".
![txnelson_0-1670293863962.png txnelson_0-1670293863962.png](https://community.jmp.com/t5/image/serverpage/image-id/47950iE7ACEA58B0DF38E9/image-size/medium?v=v2&px=400)
Once I developed the code, using the Text Template, I then had JMP generate the complete JSL, see below.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
Bivariate(
Y( :height ),
X( :weight ),
Fit Line( {Line Color( {212, 73, 88} )} ),
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
{Add Graphics Script(
4,
Description( "" ),
Text(
Center Justified,
{75, 67},
"R2 = " || Char( Round( (Current Report()[Number Col Box( 1 )] << get)[1], 5 ) )
)
)}
)
)
);
Jim