Below are a couple ways to do this. The first one was created by just clicking on the Outline Box titled "Graph Builder" and typing in the new title you specified you wanted to have. After the change I clicked on the red triangle==>Save Script, and the first script below is what it gave me. The second example below uses the JMP feature where within JSL one can change pretty much anything within the output of a platform.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
gb = Graph Builder(
Size( 528, 454 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements(
Points( X, Y, Legend( 3 ) ),
Smoother( X, Y, Legend( 4 ) )
),
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title( "Graph of Area 1" )}
)
)
);
// or
gb = Graph Builder(
Size( 528, 454 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements(
Points( X, Y, Legend( 3 ) ),
Smoother( X, Y, Legend( 4 ) )
)
);
report(gb)["Graph Builder"] << set title("This is the new title");
Jim