Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to export a plot to excel?
Date: Sun, 21 Oct 2007 14:35:51 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 21
Message-ID: <fffo47$pht$1@fred.mathworks.com>
References: <ffeoil$ipv$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 1192977351 26173 172.30.248.37 (21 Oct 2007 14:35:51 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 21 Oct 2007 14:35:51 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:433912


"Yoav Rubin" <yoavrubin@hotmail.com> wrote in message
<ffeoil$ipv$1@fred.mathworks.com>...
> Hi All,
> 
> I have a plot with several line in it (using hold off), and
> I'd like somehow to export this plot to excel, so that in
> the excel file I'll have a similar graph, with the similar
> lines. Can i do it or do I have to use xlswrite to export
> all the XDatas and YDatas of the lines and afterwards
> manually re-build the graph in excel?
> 
> Thanks
> Yoav


You can export a screenshot of the plot using OfficeDoc -
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15192&objectType=FILE

Yair Altman
http://ymasoftware.com