Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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...

share|improve this answer
1  
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. –  bobthechemist Oct 14 '13 at 19:17
    
@bobthechemist Oh yes, I can see I wrote that badly. I will disambiguate. Thanks! –  cormullion Oct 14 '13 at 19:22
    
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. –  user10000 Oct 14 '13 at 19:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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