Path: news.mathworks.com!not-for-mail
From: "David Doria" <daviddoria@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: print causes matlab to crash in linux
Date: Thu, 24 Apr 2008 14:00:19 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <fuq3pj$c3t$1@fred.mathworks.com>
Reply-To: "David Doria" <daviddoria@gmail.com>
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 1209045619 12413 172.30.248.37 (24 Apr 2008 14:00:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 24 Apr 2008 14:00:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1105197
Xref: news.mathworks.com comp.soft-sys.matlab:464976



x=1:10;
y=x.^2;
plot(x,y);
print(gcf,'-dpng','test.png');

this crashes matlab in linux!! works fine in windows.

anyone know why this may be??

Thanks,

Dave