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

Showing results for

- JMP User Community
- :
- Discussions
- :
- Set Y-Intercept in Script

- 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

2 weeks ago
(165 views)

Hey again,

Trying to have my plot have the "Fit Line" go through 0.

I can't find it in the online documentation.

Cheers,

Tyler

3 REPLIES

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

2 weeks ago
(163 views)

You are in the right place (Fit Y by X -> Bivariate) but don't use Fit Line command. Use Fit Special. The dialog box will contain a control so that you can constrain the y-intercept = 0.

Learn it once, use it forever!

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

2 weeks ago
(158 views)

Thank you for your promt answer, I guess I should have been more explicit, sorry.

I am scripting a Bivariate Analysis for a large numner of chips and reticles and so need to set it to zero in the code:

E.g.,

BivAnalysis = Bivariate(

Y ( Eval(yparam)),

X( Eval(xparam)),

Fitline ( {Line Color()}),

);

Thanks for all the help!

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

2 weeks ago
(154 views)

There are two ways to figure this out.

1) Use Help->Scripting Index to look at the Bivariate object where you'll see all the messages it can take, including Fit Special.

2) Do it once interactively and then look at the script that JMP gives you to reproduce it.

-Jeff