As never before trial, I wrote the following code:

frames = Table[ParametricPlot3D[{Cos[t], Sin[t], t}, {t, 0, a}], {a, .1, 6, .2}];

Export["trial.gif", frames]

but the result is obviously not the expected one.

How to fix?

I have tried searching the forum but did not succeeded.

I hope in your kind help.

Thank you!


closed as off-topic by Feyre, Wjx, Young, user31159, bbgodfrey Sep 5 '16 at 15:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Feyre, Wjx, Young, Community, bbgodfrey
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    $\begingroup$ You can add these options to your ParametricPlot3D command PlotRange -> {{-1, 1}, {-1, 1}, {0, 6}}, SphericalRegion -> True $\endgroup$ – yarchik Sep 5 '16 at 9:49
  • $\begingroup$ Fantastic, it was exactly what I want. Thank you so much! $\endgroup$ – TeM Sep 5 '16 at 10:05
  • $\begingroup$ There has got to be an existing Q&A about using a fixed PlotRange for this kind of thing, and I would prefer to mark this question as a duplicate rather than easily found in the documentation. Would someone kindly help me locate a suitable original? $\endgroup$ – Mr.Wizard Sep 5 '16 at 14:58
  • $\begingroup$ @Mr.Wizard related mathematica.stackexchange.com/q/123793/2079 $\endgroup$ – george2079 Sep 6 '16 at 11:58