I have a differential equation which I solved using NDSolve. I can easily plot x[t] vs. t, x'[t] vs. t, but....
how do I plot x[t] vs. x'[t]?
I tried using the Evaluate function to simplify things, but I still have no luck. Here's what I mean:
x1 = Evaluate[x'[t] /. sol];
x2 = Evaluate[x[t] /. sol];
Plot[x2, {x1, 0, 50}, PlotRange -> Automatic, AxesLabel -> {x[t], x'[t]}]
How can I plot these? This approach also did not work:
Plot[x[t]/.sol, {x'[t]/.sol, 0, 50}, PlotRange -> Automatic,
AxesLabel -> {x[t], x'[t]}]
Help!



Evaluateonly makes sense when used insidePlotto distinguish the plotted functions, not during assignment. – István Zachar Nov 2 '12 at 17:40Read the FAQs! 3) When you see good Q&A, vote them up byclicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. ALSO, remember to accept the answer, if any, that solves your problem,by clicking the checkmark sign` – chris Nov 2 '12 at 17:47