Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: extracting data from a scanned graph
Date: Sat, 24 Oct 2009 15:58:01 +0000 (UTC)
Organization: Loughborough University
Lines: 6
Message-ID: <hbv869$65m$1@fred.mathworks.com>
References: <hbuolc$27f$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 1256399881 6326 172.30.248.37 (24 Oct 2009 15:58:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 24 Oct 2009 15:58:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1338633
Xref: news.mathworks.com comp.soft-sys.matlab:579789


"Omid" <omid_dr@yahoo.com> wrote in message <hbuolc$27f$1@fred.mathworks.com>...
> Hi everybody,
> Is there a way to import a plot in .jpeg into MATLAB and convert it to .fig such that "Data Cursor" can be used to get data values of some specific points in the graph?
> Thanks

you can use image processing techniques for example edge detection to detect curves on the graph and extract the data in that way. or you could display the image then overlay an axes and use the data cursor or ginput to extract the position of the relevant pixels. These positions would then need scaling to suit the scale on the original graph.