Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Binary images and EPS?
Date: Tue, 16 Jun 2009 08:44:02 +0000 (UTC)
Organization: Oxford University
Lines: 24
Message-ID: <h17m0i$6ul$1@fred.mathworks.com>
References: <h11465$kis$1@fred.mathworks.com> <h13plp$bvj$1@fred.mathworks.com> <h13tbu$pr6$1@fred.mathworks.com> <h157ie$ba5$1@fred.mathworks.com> <h17kdt$olf$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1245141842 7125 172.30.248.38 (16 Jun 2009 08:44:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 16 Jun 2009 08:44:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1073021
Xref: news.mathworks.com comp.soft-sys.matlab:547813


"Christopher Hummersone" <wheely_chairs@hotmail.com> wrote in message <h17kdt$olf$1@fred.mathworks.com>...
> Here is an example of the code I'm using:
> 
> z = rand(10);
> z(z<0.5) = 0;
> z(z>=0.5) = 1;
> 
> figure;
> imagesc(z)
> colormap([1 1 1; 0 0 0]);
> colorbar
> print('-f1','-deps2','Interpolated.eps')
> print('-f1','-deps2','-zbuffer','Quantised.eps')
> 
> Note that the images I'm working with are much bigger.  In the interpolated version the interpolation should be quite obvious - on the colorbar and in the figure.  The text looks as you would expect.  In the quantized version the fonts are heavily quantized and when I load the file onto my windows machine I get aliasing problems too.
> 
> Many thanks,
> 
> Chris

Chris, on my machine using MATLAB R2007B the Interpolated.eps looks fine, with no interpolation at all, so I'm stumped. I would take a screenshot of your eps file and send it to technical support, along with the code.

Sorry I couldn't help more.
Oliver