Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Plotting a function graph' topicStudent Support Forum > General > "Plotting a function graph"

Next Comment >Help | Reply To Topic
Author Comment/Response
Carlo
11/27/08 12:05pm

Hi guys, I'm here again looking (or I should say begging^^) for your help!

I solved a system of DE numerically, by the code

sol = NDSolve[{x[t],y[t], (initial conditions)}, {t,0,100}]

Then I used ParametricPlot to plot x[t] and y[t] for t that goes from 0 to 100, and it all worked (obviously, I indicated the initial conditions of the problem in the real notebook).

Now I need to show, IN THE SAME PLOT, the trajectory x[t],y[t] fot t varying in intervals included in 0-100 (for example, for t that goes from 0 to 1, then from 10 to 11, from 20 to 21 and so on)...is there any way to do such a thing?

Thanks a lot for your answers (and sorry for the bad English^^)!







URL: ,

Subject (listing for 'Plotting a function graph')
Author Date Posted
Plotting a function graph Carlo 11/27/08 12:05pm
Re: Plotting a function graph Xavier 11/27/08 9:01pm
Next Comment >Help | Reply To Topic