From: "Ben " <>
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$>
Reply-To: "Ben " <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1345921331 24676 (25 Aug 2012 19:02:11 GMT)
NNTP-Posting-Date: Sat, 25 Aug 2012 19:02:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3603484
Xref: 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.