MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > How to plot 2 fitting lines in 1 dataset? 

Subject: How to plot 2 fitting lines in 1 dataset? From: KuoHsien Date: 5 Jun, 2009 17:21:02 Message: 1 of 8 
Hi all, 
Subject: How to plot 2 fitting lines in 1 dataset? From: Lorenzo Guerrasio Date: 5 Jun, 2009 20:18:02 Message: 2 of 8 

Subject: How to plot 2 fitting lines in 1 dataset? From: KuoHsien Date: 6 Jun, 2009 22:13:01 Message: 3 of 8 
Hi Lorenzo, 
Subject: How to plot 2 fitting lines in 1 dataset? From: John D'Errico Date: 7 Jun, 2009 12:31:01 Message: 4 of 8 
"KuoHsien" <mchangks@hotmail.com> wrote in message <h0epld$lkf$1@fred.mathworks.com>... 
Subject: How to plot 2 fitting lines in 1 dataset? From: John D'Errico Date: 7 Jun, 2009 13:01:02 Message: 5 of 8 
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <h0gbu5$ssj$1@fred.mathworks.com>... 
Subject: How to plot 2 fitting lines in 1 dataset? From: Lorenzo Guerrasio Date: 7 Jun, 2009 16:54:01 Message: 6 of 8 
I'm not sure whether the data of the guy had a kink...it seems more that he has two data set, i.e. x1 and x2, with two different relation, i.e. y=x1 and y=3*x2, intermingled in one data set y,x 
Subject: How to plot 2 fitting lines in 1 dataset? From: KuoHsien Date: 8 Jun, 2009 01:46:02 Message: 7 of 8 
To John, 
Subject: How to plot 2 fitting lines in 1 dataset? From: KuoHsien Date: 8 Jun, 2009 02:31:01 Message: 8 of 8 
"KuoHsien" <mchangks@hotmail.com> wrote in message <h0hqgq$7s9$1@fred.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.