Hi.
I built a graph with 1 response and two variations (X axis and warp) .
but, I would like to add a the percentage difference, as you can see in the next photo- I made by PP
does anyone have a recommendation what is the best way to do this?
Yes.
Here is an example taken right from the Scripting Index for "<< Add Graphics Script". It uses the Bivariate platform, but << Add Graphics Script is also supported for the Graph Builder
Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = Bivariate( Y( :weight ), X( :height ), FitLine );
rbiv = biv << report;
framebox = rbiv[frame box( 1 )];
framebox << Add Graphics Script(
Transparency( 0.5 );
Fill Color( {1.0, 0.5, 0.0} );
Polygon( [60, 72, 57], [75, 120, 120] );
);
You can add the annotations by using the Objects available under the Tool Bar
Or you can use JSL and the "<< Add Graphics Script" to add the annotation programmatically
Thanks!
add it is possible to add a custom calculation automatically ?
Yes.
Here is an example taken right from the Scripting Index for "<< Add Graphics Script". It uses the Bivariate platform, but << Add Graphics Script is also supported for the Graph Builder
Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = Bivariate( Y( :weight ), X( :height ), FitLine );
rbiv = biv << report;
framebox = rbiv[frame box( 1 )];
framebox << Add Graphics Script(
Transparency( 0.5 );
Fill Color( {1.0, 0.5, 0.0} );
Polygon( [60, 72, 57], [75, 120, 120] );
);