If you run this script:
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
Size( 528, 452 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 6 ) ) ),
SendToReport(
Dispatch(
{},
"weight",
ScaleBox,
{Label Row(
{Inside Ticks( 1 ), Show Major Grid( 1 ), Show Minor Grid( 1 ),
Show Minor Labels( 1 )}
)}
)
)
);
it produces:
(which you could make interactively, of course).
I then did 'Edit > Journal' to make a Journal file, then used the 'fat plus' tool to move elements around to make: