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


Groups > comp.soft-sys.math.mathematica > #7441

Re: arrows in the parametric plot

From michael partensky <partensky@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: arrows in the parametric plot
Date 2011-12-26 22:32 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jdasm8$keu$1@smc.vnet.net> (permalink)
References <201112261154.GAA14440@smc.vnet.net>

Show all headers | View raw


Thanks, Bob.

I noticed that some of them (say #2 for n =3) are tilted relative to the
trajectory.
Can it be fixed?

Best
MP
On Mon, Dec 26, 2011 at 12:13 PM, Bob Hanlon <hanlonr357@gmail.com> wrote:

> Manipulate[
>  Module[{m, f, c},
>  m = Ceiling[100/n];
>  f[u_] = {Cos[u], Sin[u], u};
>  c = ParametricPlot3D[f[u], {u, 0, 2 Pi},
>    PlotStyle -> Thick,
>    BoxRatios -> {1, 1, 1}];
>  Show[c, Graphics3D[Arrow /@ Partition[
>      Table[f[u], {u, 0, 2 Pi, 2 Pi/(m*n)}],
>      m]]]],
>  {{n, 4, "Number of\nArrows"}, 1, 10, 1,
>  Appearance -> "Labeled"}]
>
>
> Bob Hanlon
>
> On Mon, Dec 26, 2011 at 6:54 AM, michael partensky <partensky@gmail.com>
> wrote:
> > Hi the group.
> > What is the better way of *putting the arrows in the 3-D parametric
> > plot*showing the direction of a particle moving along the trajectory
> > using
> > *only the built-in functions *?
> > The arrows should be separated  by a selected step along the trajectory
> > (or, say, a chosen time step).
> >
> > Thanks
> > Michael.
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: arrows in the parametric plot michael partensky <partensky@gmail.com> - 2011-12-26 22:32 +0000

csiph-web