i´m plotting a Dataset and performed two linear fit on the resulting graph. I plotted the results and got a graph with two straight lines. The two lines run from one end of the plot to the other. Do somebody know how to restrain the plot of the lines to a certain interval.
For example: the line of the first fit runs from x=800:1100 and the line of the second fit runs from x=900:1600.
The parameters of the whole plot are y= -2:9; x= 800:1600