cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
TalDamri
Level III

how to add Percentage difference on graph

Hi.

 

I built a graph with 1 response and two variations (X axis and warp) .

 

You can see it here 

 

but, I would like to add a the percentage difference, as you can see in the next  photo- I made by PP

 

test.png

 

 

 

 

 

 

 

does anyone have a recommendation what is the best way to do this?

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: how to add Percentage difference on graph

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] );
);
Jim

View solution in original post

3 REPLIES 3
txnelson
Super User

Re: how to add Percentage difference on graph

You can add the annotations by using the Objects available under the Tool Bar

anno.PNG

Or you can use JSL and the "<< Add Graphics Script" to add the annotation programmatically

Jim
TalDamri
Level III

Re: how to add Percentage difference on graph

Thanks! 

 

add it is possible to add a custom calculation automatically ?

txnelson
Super User

Re: how to add Percentage difference on graph

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] );
);
Jim

Recommended Articles