cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-390117%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%A6%82%E4%BD%95%E7%B8%AE%E7%9F%AD%E6%93%AC%E5%90%88%E7%B7%9A%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-390117%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3C%2FP%3E%3CP%3E%E7%95%B6%E6%88%91%E4%BD%BF%E7%94%A8%E6%93%AC%E5%90%88%E7%B7%9A%E5%B7%A5%E5%85%B7%E6%93%AC%E5%90%88%E6%88%91%E7%9A%84%E6%95%B8%E6%93%9A%E6%99%82%EF%BC%8C%E5%AE%83%E6%9C%83%E5%B0%87%E7%B7%9A%E7%99%BC%E9%80%81%E5%88%B0%E5%9C%96%E5%BD%A2%E7%9A%84%E6%9C%AB%E5%B0%BE%E3%80%82%20%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E6%98%AF%E5%90%A6%E6%9C%89%E4%BB%BB%E4%BD%95%E6%96%B9%E6%B3%95%E5%8F%AF%E4%BB%A5%E5%AE%9A%E7%BE%A9%E8%B6%A8%E5%8B%A2%E7%B7%9A%E6%87%89%E8%A9%B2%E6%9C%89%E5%A4%9A%E9%95%B7%EF%BC%8C%E4%BB%A5%E4%BE%BF%E5%AE%83%E5%8F%AA%E8%B7%A8%E8%B6%8A%E6%88%91%E6%83%B3%E8%A6%81%E9%A1%AF%E7%A4%BA%E7%9A%84%E5%8D%80%E5%9F%9F%E3%80%82%3C%2FP%3E%3CP%3E%E6%9C%89%E6%B2%92%E6%9C%89%E8%BE%A6%E6%B3%95%E8%AE%93%E6%93%AC%E5%90%88%E7%B7%9A%E5%87%BA%E7%8F%BE%E5%9C%A8%E5%9C%96%E4%BE%8B%E4%B8%AD%EF%BC%9F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E8%AC%9D%E8%AC%9D%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-390117%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E5%9C%96%E5%BD%A2%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Choose Language Hide Translation Bar
SI-2000
Level I

How do I Shorten the Fit line?

Hello,

When I fit my data using the fit line tool it send the line till the end of the graph. I was wondering if there was any way to define how long the trend line should be, such that it only spans the region I want to show. 

Is there also a way to get the fit line to appear within the legend? 

 

Thanks!

3 REPLIES 3
Thierry_S
Super User

Re: How do I Shorten the Fit line?

Hi,
Have you considered using Graph Builder to plot the line of fit: this platform limits the span on the line of fit to the data range. If however you need to work within the Fit Y by X platform, I'm not aware of a simple method to constrain the span of the line of fit.
Best,
TS
Thierry R. Sornasse
SI-2000
Level I

Re: How do I Shorten the Fit line?

Hi,

 

So I did consider it, however i have the data grouped together by their type, so I couldn't find a way to present all the lines using the graph builder as it would display them separately instead of grouping the data by a certain property.

Re: How do I Shorten the Fit line?

If your property is in a column, drag that result to the Overlay field in Graph Builder. 

 

Here is a simple example using Big Class that shows that you can indeed have multiple regression lines on a single graph using Graph Builder

 
Dan Obermiller

Recommended Articles