Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!news.aset.psu.edu!support1.mathforum.org!not-for-mail
From: Dave <kohonen@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Transform a plot into an image
Date: Thu, 15 May 2008 18:03:30 EDT
Organization: The Math Forum
Lines: 13
Message-ID: <33278300.1210889040237.JavaMail.jakarta@nitrogen.mathforum.org>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1210889040 15136 144.118.30.135 (15 May 2008 22:04:00 GMT)
X-Complaints-To: news@support1.mathforum.org
NNTP-Posting-Date: Thu, 15 May 2008 22:04:00 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:468722


Hi everyone,

I would like to transform a plot into an image.

i've tried:

plot(x,y);
d=getimage(gca)


but it doesnt work

THANKS!