Re: draw vertical cylinder with no surface lines
- To: mathgroup at smc.vnet.net
- Subject: [mg71684] Re: draw vertical cylinder with no surface lines
- From: "Narasimham" <mathma18 at hotmail.com>
- Date: Sun, 26 Nov 2006 03:49:22 -0500 (EST)
- References: <ek63g2$8tk$1@smc.vnet.net>
Murray Eisenberg wrote: > For an illustration, I want to draw a closed cylindrical "can" -- a > cylinder with its axis vertical -- along with arrows (with labels) > indicating radius and height. > > The ways I've found, either using Graphics`Shapes`Cylinder or > ParametricPlot3D, insist on drawing curves on the vertical wall of the > cylinder and, if I use ParametricPlot3D to draw the top, too, on the top. > > Is there some way to suppress these curves? Of course I still need the > circles bounding the top and bottom to be drawn as well as two vertical > lines that demarcate the wall of the cylinder from the ambient space. I > just want to rely upon lighting and shading to suggest the > three-dimensionality. --- EdgeForm[] suppresses edges. Use larger number of points on the polar rotation parameter. HTH ParametricPlot3D[{Cos[u], Sin[u], z, EdgeForm[]}, {u, 0, 2Pi}, {z, 0, 2}, PlotPoints -> {200, 25}]