cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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