cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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