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!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.

Discussions

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

Reference lines with slope

JMP 9.0.2 on Windows XP

I'd like to add a reference line to a scatterplot (using Graph Builder), but I don't want the vertical or horizontal lines that are possible through the axis settings.  I could use a dummy column with the appropriate values, but I'm hoping there is a more elegant solution...

1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Perkinson
Community Manager Community Manager

Reference lines with slope

You can add a Graphics Script to the graph and use the "Y Function()" function.

Just right-click on the graph and chose "Customize". In the Customize Graph dialog click the + button to add a script.

Then, in the Templates drop down menu, choose Y Function.

Then you can put the formula for your line in the Y Function template and get a line.

Jeff

-Jeff

View solution in original post

1 REPLY 1
Jeff_Perkinson
Community Manager Community Manager

Reference lines with slope

You can add a Graphics Script to the graph and use the "Y Function()" function.

Just right-click on the graph and chose "Customize". In the Customize Graph dialog click the + button to add a script.

Then, in the Templates drop down menu, choose Y Function.

Then you can put the formula for your line in the Y Function template and get a line.

Jeff

-Jeff

Recommended Articles