0
$\begingroup$

I am trying to make a parametric plot of the x and y displacements of a vibration problem. When trying to plot the parametric curve won't show up.

enter image description here

$\endgroup$
  • 1
    $\begingroup$ Could you enter your problem using some formatting so it can be copied for testing? $\endgroup$ – gwr Dec 10 '14 at 17:40
  • 2
    $\begingroup$ Please post code, not just images. $\endgroup$ – Yves Klett Dec 10 '14 at 17:42
  • $\begingroup$ Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Read the faq! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$ – Dr. belisarius Dec 10 '14 at 19:59
1
$\begingroup$

For example:

solx = NDSolve[{x''[t] == -x[t], x[0] == 0, x'[0] == 1}, x, {t, 0, 2 Pi}]
soly = NDSolve[{y''[t] == -y[t], y[0] == 2, y'[0] == 1}, y, {t, 0, 2 Pi}]
ParametricPlot[{x[t] /. solx[[1]], y[t] /. soly[[1]]}, {t, 0, 2 Pi}]

Mathematica graphics

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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