Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2367
| From | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Rotating a surface similar to a helix |
| Date | 2011-05-14 07:13 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <iqla2u$9vi$1@smc.vnet.net> (permalink) |
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
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Rotating a surface similar to a helix Heike Gramberg <heike.gramberg@gmail.com> - 2011-05-14 07:13 +0000
csiph-web