Path: news.mathworks.com!not-for-mail
From: "Jeff Field" <jjfield@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Export Surface plots to eps
Date: Thu, 9 Oct 2008 13:53:14 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 37
Message-ID: <gcl2ca$ih$1@fred.mathworks.com>
References: <g5tm75$8u9$1@fred.mathworks.com> <g6nk0v$t82$1@fred.mathworks.com>
Reply-To: "Jeff Field" <jjfield@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 1223560394 593 172.30.248.37 (9 Oct 2008 13:53:14 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 9 Oct 2008 13:53:14 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1543858
Xref: news.mathworks.com comp.soft-sys.matlab:494292


"Patrick Fletcher" <tuchwando@gmail.com> wrote in message <g6nk0v$t82$1@fred.mathworks.com>...
> I would also like to know if there is a workaround for this!
> I get the same result: a thin white line bisects each
> quadrilateral face of the surface when shading is set to the
> default 'faceted.'
> 
> When shading is set to 'flat' or 'interp', there are little
> black dots poking through the surface from where the mesh
> would be.
> 
> I'm most interested in the 'faceted' case.
> 
> Thanks!
> 
> Patrick
> 
> "Stefan M?" <euklid2003@web.de> wrote in message
> <g5tm75$8u9$1@fred.mathworks.com>...
> > Hi, 
> > 
> > if I export surface plots to eps I get some artefacts. It
> > looks like the diagonals of the triangles will be displayed.
> > I see the effect only, if I export to eps or pdf, but not on
> > jpeg or png. Further, the plot in the matlab figure window
> > is ok. 
> > 
> > There is no difference wheter I export with the menu of the
> > figure window, with print -deps filename.eps or
> > saveas(figure(1), 'filename','eps'). 
> > 
> > Ideas?
> 

I'm having the same problem as well.  When I export to .eps or .pdf, I do not see the issue with 'interp', but I need to use 'faceted' for my purposes.  What platform are you running MATLAB on?  I am using a Mac, and I thought the perhaps the problem will not show up on a PC.  I've not yet tested this theory though.  

Anyone found a solution to this problem yet?