Hi,
I am trying to create a JMP script that will add a graphics script to a pre-existing platform, based on some user selection. How can I retrieve the reference to a user-selected frame box? Is there a better way to do this? I am using JMP10.
Thanks!
Names Default To Here( 1 );
// Example.
bigClass = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = bigClass << Bivariate( Y( :weight ), X( :height ) );
// User will select one or many frame boxes.
rbiv = biv << Report;
sel = rbiv[FrameBox( 1 )];
sel << Select;
// Help needed:
// JMP will retrieve the reference to the selected frame box and add a graphics script.
// JMP will add something to selected frame box...
sel << Add Graphics Script(Text( Center Justified, {55, 160}, "Hi!" ););
sel << Deselect; // JMP will return graph to user.