Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Export Surface plots to eps
Date: Mon, 13 Jul 2009 12:57:02 +0000 (UTC)
Organization: MPI fuer Plasma Physik
Lines: 39
Message-ID: <h3fauu$6n0$1@fred.mathworks.com>
References: <g5tm75$8u9$1@fred.mathworks.com> <g6nk0v$t82$1@fred.mathworks.com> <gcl2ca$ih$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1247489822 6880 172.30.248.35 (13 Jul 2009 12:57:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 13 Jul 2009 12:57:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1842550
Xref: news.mathworks.com comp.soft-sys.matlab:554974


I found 'lighting phong' removed black dots in some cases. No idea why though.

"Jeff Field" <jjfield@gmail.com> wrote in message <gcl2ca$ih$1@fred.mathworks.com>...
> "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?