turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Bivariate Platform Question

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Feb 12, 2016 4:35 AM
(913 views)

Is it possible to add a straight line of my own choosing to a bivariate plot? It appears that you can edit the least squares fit line, but nothing happens when I change the intercept and slope. I need to plot the historic data against a "goal" line, which is a ratio of my x vs. y (i.e., Y = 0.8 X).

Thanks for any help!

Steve

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Feb 12, 2016 5:14 AM
(1714 views)

Solution

You can add a line, or any custom curve, with a graphics script. Right-click and pick *Customize*... In the dialog, press the + sign and choose *Y function* from the *Templates* dropdown.

A jsl example:

Names Default To Here**(****1****)**;

dt = Open**(**"$SAMPLE_DATA/Big Class.jmp"**)**;

biv = Bivariate**(**Y**(**:weight**)**, X**(**:height**)**, Fit Line**()**, **)**;

Report**(**biv**)[**Framebox**(****1****)]** << **Add Graphics Script****(**Y Function**(****1.8** * X, X**))**;

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Feb 12, 2016 5:14 AM
(1715 views)

You can add a line, or any custom curve, with a graphics script. Right-click and pick *Customize*... In the dialog, press the + sign and choose *Y function* from the *Templates* dropdown.

A jsl example:

Names Default To Here**(****1****)**;

dt = Open**(**"$SAMPLE_DATA/Big Class.jmp"**)**;

biv = Bivariate**(**Y**(**:weight**)**, X**(**:height**)**, Fit Line**()**, **)**;

Report**(**biv**)[**Framebox**(****1****)]** << **Add Graphics Script****(**Y Function**(****1.8** * X, X**))**;

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Feb 12, 2016 5:26 AM
(857 views)