2
$\begingroup$

This command:

ParametricPlot3D[{Cos[t], Sin[t], t}, {t, 0, 2 \[Pi]},
     Epilog -> {Arrow[{{0, 0, 0}, {Cos[\[Pi]], Sin[\[Pi]], \[Pi]}}]}]

Produces the message:

Coordinate {0, 0, 0} should be a pair of numbers, or a Scaled or Offset form.

$\endgroup$

1 Answer 1

5
$\begingroup$

Perhaps you want:

Show[
 ParametricPlot3D[{Cos[t], Sin[t], t}, {t, 0, 2 Pi}], 
 Graphics3D[Arrow[{{0, 0, 0}, {Cos[Pi], Sin[Pi], Pi}}]]
 ]

plot

Epilogs are 2D only...

$\endgroup$
3
  • 2
    $\begingroup$ Was about to write a "hey I know something" comment, until I realized your "Epilogs may be 2D only" was not to suggest that it is possible but to state that Epilog only accepts 2D directives. $\endgroup$ Oct 14, 2013 at 19:17
  • $\begingroup$ @bobthechemist Oh yes, I can see I wrote that badly. I will disambiguate. Thanks! $\endgroup$
    – cormullion
    Oct 14, 2013 at 19:22
  • $\begingroup$ I have used the Show[graphic 1 graphic2] as a work around. The error message now suggests to me that epilog IS limited to 2D directives. $\endgroup$
    – user10000
    Oct 14, 2013 at 19:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.