Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

Re: Plot3d question

  • To: mathgroup at
  • Subject: [mg40095] Re: Plot3d question
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 20 Mar 2003 03:33:02 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <b59a3d$sb6$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


have a look at CylindricalPlot3D[] from the standard package
Graphics`ParametricPlot3D` .

But Plot3D[] will always generate a SurfaceGraphics[] while 
Mathematica uses a general Graphics3D[] structure to 
reperesent a mesh in non-cartesian coordinates.

Something like
gg = Graphics3D[
      Plot3D[(1 - r)^2*(1 - Sin[phi])^2, {r, 0, 2}, {phi, 0, 2Pi}, 
        DisplayFunction -> Identity]] /. 
    Polygon[pnts_] :> 
      Polygon[pnts /. {r_?NumericQ, phi_?NumericQ, 
              z_?NumericQ} :> {r*Cos[phi], r*Sin[phi], z}];
Show[gg, DisplayFunction -> $DisplayFunction]

may help you.


Jeremy wrote:
> Is there any way to make Plot3D display its output in a cylinder, instead of
> a box?
> Thanks,
> Jeremy

  • Prev by Date: simple question if/while loop
  • Next by Date: RE: Plot3d question
  • Previous by thread: Re: Plot3d question
  • Next by thread: RE: Plot3d question