Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: How to plot 2 fitting lines in 1 dataset?
Date: Fri, 5 Jun 2009 17:21:02 +0000 (UTC)
Organization: CSU
Lines: 5
Message-ID: <h0bk5u$cha$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1244222462 12842 172.30.248.37 (5 Jun 2009 17:21:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 5 Jun 2009 17:21:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 951788
Xref: news.mathworks.com comp.soft-sys.matlab:545084


Hi all,

My dataset can be categorized into 2 groups by eyes, so can I plot 2 fitting lines for this dataset? Right now, I just use polyfit function, but it fits for all data points. Thanks.

Michael