Path: news.mathworks.com!not-for-mail
From: "Ben " <fishing518@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Plot 3D yield curve
Date: Sat, 25 Aug 2012 19:02:11 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <k1b7fj$o34$1@newscl01ah.mathworks.com>
Reply-To: "Ben " <fishing518@yahoo.com>
NNTP-Posting-Host: www-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1345921331 24676 172.30.248.47 (25 Aug 2012 19:02:11 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 25 Aug 2012 19:02:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3603484
Xref: news.mathworks.com comp.soft-sys.matlab:777226

I am trying to plot 3D yield curve to show the evolution of yield curve over time,
X-axis= Time
Y-axis= Term Structure (so an upward sloping line)
Z-axis=Yields of all maturities moving through time

but every time, Matlab shows error message. "x, y, z" should be equal length. How to work this out. thanks.