This can be done using the "Spacing Borders" option or via script
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << Graph Builder(
Level Fill Color( "White" ),
Level Frame Color( "White" ),
Level Spacing Color( "White" ),
Level Underline( 1 ),
Page Level Underline( 0 ),
Variables( X( :weight ), Y( :height ), Group X( :sex ) ),
Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
FrameBox,
{Left( 1 ), Right( 0 ), Top( 1 ), Bottom( 1 )} //here you specify where a border appears
),
Dispatch(
{},
"Graph Builder",
FrameBox( 2 ),
{Left( 0 ), Right( 1 ), Top( 1 ), Bottom( 1 )} //here you specify where a border appears
)
)
);
/****NeverStopLearning****/