Question: Adding arrows to a phase portrait

Hi there,

I have a function X that I am trying to plot a phase portrait for against it's derivative dX/dt. I currently have the code:

plot([X,diff(X,t),t=0..10],numpoints=1000) 

which sketches a graph but does not give any arrows to indicate direction.

Could anybody help?

 

Many thanks

Please Wait...