Here is a very simple example. All of the Graphics functions are documented in the Scripting Index, under "Graphics


Names Default To Here( 1 );
dt =
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );
vc = Variability Chart(
Y( :height ),
X( :sex, :age ),
Show Cell Means( 0 ),
Std Dev Chart( 0 )
);
rvcf = Report( vc )[framebox( 1 )];
rvcf << add graphics script(
Pen Color( red );
Line( {0, 67}, {6, 67} );
Line( {6, 62}, {12, 62} );
Pen Color( blue );
Line( {0, 55}, {6, 55} );
Line( {6, 52}, {12, 52} );
Text Color( red );
Text( {1, 67}, "Limit for Females" );
);
Jim