MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: draw vertical cylinder with no surface lines


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}]


  • Prev by Date: Re: Re: List of user-defined derivatives
  • Next by Date: Re: Numerical vaule of multinormal distribution
  • Previous by thread: RE: draw vertical cylinder with no surface lines
  • Next by thread: Re: draw vertical cylinder with no surface lines