Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Visible mesh edges in PDF output of 3D graphic
Replies: 5   Last Post: Mar 17, 2013 3:08 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
David Reiss

Posts: 603
Registered: 2/24/06
Visible mesh edges in PDF output of 3D graphic
Posted: Mar 13, 2013 4:18 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Consider the following plot:

graphicTest=
ContourPlot3D[{h==0,g==0},{x,-2,2},{y,-2,2},{z,-2,2},
MeshFunctions->{Function[{x,y,z,f},h-g]},
MeshStyle->{{Thick,Black,Opacity[1]}},
Mesh->{{0}},
ContourStyle->{
Directive[Orange,Opacity[.5],Specularity[White,30]],
Directive[Purple,Opacity[.3],Specularity[Green,30]]},
PlotPoints->30,
Boxed->False,
(*Axes->False,*)
BoxRatios->Automatic,
PlotRange->{All,All,{-2,2}}
]


Then export it as a PDF and look at it in a PDF viewer (insert your
directory path at <<<your directory path here>>> to make this work):

Export["<<<your directory path here>>>/
testGraph.pdf",graphicTest,"PDF"]//SystemOpen

Look at the resulting PDF. You will see the lattice of the underlying
plot mesh visible. Is there any way to get rid of this? Note that I
expect to see the fasceted nature of the graphic, but the explicit
differently colored edges are not desired.




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.