Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Extracting Data from Plots
Date: Tue, 21 Aug 2007 19:55:51 +0000 (UTC)
Organization: Boston University
Lines: 7
Message-ID: <fafg07$gsb$1@fred.mathworks.com>
References: <fafcsg$3l1$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 1187726151 17291 172.30.248.37 (21 Aug 2007 19:55:51 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 21 Aug 2007 19:55:51 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 844160
Xref: news.mathworks.com comp.soft-sys.matlab:424841



Solution:

get(get(gca,'Children'),'YData');

Multi-line plots will have multiple arrays in which the data
is stored. Thanks to a colleague of mine for pointing this
out to me!