Code Comments
Programming Forum and web based access to our favorite programming groups.Hi there, I would like to plot streamlines and/or vector fields for systems of several odes, by which I mean systems of 3D or more and plots of 2D or 3D. I have been able to use routines like quiver, quiver3, streamslice, streamline, and coneplot, with varying degrees of success, for 2D and 3D systems... the matlab examples always look a lot work better than my systems! Now I have some 4D and 5D systems for which I would like to simulate some trajectories and plot a series of 2D plots for selected pairs of the variables. I know how to plot several trajectories by selecting initial conditions and feeding them in ode45 and the like, but what I am looking for (if available) is a more systematic loop to simulate trajectories over a meshgrid, together with a visual device to indicate the direction of motion : arrows in 2D / cones in 3D / a changing colour scheme to indicate speed would be real nice too. Is there a way to feed a 5D ode system into streamslice (or equivalent) and create 2D plots? Does anyone know examples of use of streamslice other than the "wind" example found in matlab help? Thanks to the learned for sharing their knowledge: I have read several very useful postings and would like to thank participants for the great spirit of the group. Patrick
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.