cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
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