Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2367 > unrolled thread

Re: Rotating a surface similar to a helix

Started byHeike Gramberg <heike.gramberg@gmail.com>
First post2011-05-14 07:13 +0000
Last post2011-05-14 07:13 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Rotating a surface similar to a helix Heike Gramberg <heike.gramberg@gmail.com> - 2011-05-14 07:13 +0000

#2367 — Re: Rotating a surface similar to a helix

FromHeike Gramberg <heike.gramberg@gmail.com>
Date2011-05-14 07:13 +0000
SubjectRe: Rotating a surface similar to a helix
Message-ID<iqla2u$9vi$1@smc.vnet.net>
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
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web