Path: news.mathworks.com!not-for-mail
From: "Alan B" <monguin61@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Saving a overlay and image figure
Date: Tue, 9 Sep 2008 03:53:02 +0000 (UTC)
Organization: UT
Lines: 1
Message-ID: <ga4rut$11c$1@fred.mathworks.com>
References: <ga1fvr$4em$1@fred.mathworks.com>
Reply-To: "Alan B" <monguin61@yahoo.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 1220932382 1068 172.30.248.37 (9 Sep 2008 03:53:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 9 Sep 2008 03:53:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1446885
Xref: news.mathworks.com comp.soft-sys.matlab:489308



Its not ideal, but you could write your own line-drawing function and just write black points directly into the array, then imwrite. Line drawing isn't too hard, and you can easily transform coordinates from data-space to pixel-space. Lacking a better solution, this would certainly work, which is better than the alternative.