cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
raj138
Level II

Reduce decimal points in Equation coefficients in Graph builder

How do I reduce the decimal points in the coefficients for the equations that are displayed in Graph builder?

For example, in the graph below, I don't want 8.491, 1.231, 6.552 and 0.7099. I want 8.5, 1.2, 6.6 and 0.7. How do I change this?

 

raj138_1-1634911780417.png

 

 

2 REPLIES 2
raj138
Level II

Re: Reduce decimal points in Equation coefficients in Graph builder

@txnelson and @gzmorgan0 - Any ideas on this?

Thierry_S
Super User

Re: Reduce decimal points in Equation coefficients in Graph builder

Hi,

To the best of my knowledge, it is not possible to change the format of these predefined GraphBuilder annotations. Hence, when confronted with this type of challenge, I use JSL to extract the desired parameter from the Fit Y by X > Fit Line platform, format the numbers as I see fit, and add the resulting text to the plot frame using the Add Graphics Script command.

This approach is worth the effort only if you have multiple plots to annotate; otherwise, I use the old-school method of annotating the plot manually via the Customize function.

Let us know if you are up for some coding.

Best,

TS

Thierry R. Sornasse