MathGroup Archive 2011

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

Search the Archive

Re: Rotating a surface similar to a helix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118887] Re: Rotating a surface similar to a helix
  • From: Heike Gramberg <heike.gramberg at gmail.com>
  • Date: Sat, 14 May 2011 03:08:22 -0400 (EDT)

Do you mean something like

rot = RotationMatrix[u/6 Pi/2, {0, 0, 1}];

ParametricPlot3D[{{t, t^2 - 2, u}, {t, -t^2 + 2, u}}.rot,
 {t, -1.41421, 1.41421}, {u, 0, 6}, Mesh -> None,
 Axes -> True, AxesLabel -> {x, y, z}, PlotRange -> All,
 ViewPoint -> {1.14, -1.85, 5}]

Heike.

On 13 May 2011, at 11:26, Bill wrote:

> Rotating a surface similar to a helix
>
> Hi:
>
> I have the following 2D parametric plot, showing a parabola mirrored about the x axis, forming a closed curve.
>
> ParametricPlot[{{t,t^2-2},{t,-t^2+2}},{t,-1.41421,1.41421},PlotStyle->Red,Axes->True,AxesLabel->{x,y},PlotRange->{{-2.5,2.5},{-2.5,2.5}}]
>
> I'd like to show these curves in 3D as:
>
> ParametricPlot3D[{{t,t^2-2,u},{t,-t^2+2,u}},{t,-1.41421,1.41421},{u,0,6},Mesh->None,Axes->True,AxesLabel->{x,y,z},PlotRange->All,ViewPoint->{1.14,-1.85,5}].
>
> Ok, got that.
>
> The next thing that I'd like to do is to rotate the closed 3D cylinder, say 90 degrees. That is, the base would be at the 2D position plotted, and the top would be rotated 90 degrees. I'd like a smooth transition from the base to the top of the cylinder, like one see's with a helix.
>
> Question: How can I do that in a 3D plot?
>
>
> Thanks,
>
> Bill
>


  • Prev by Date: Re: Complex arithmetic identity question
  • Next by Date: Re: color-coding two sets of plotted curves?
  • Previous by thread: Rotating a surface similar to a helix
  • Next by thread: Re: Rotating a surface similar to a helix