How to Plot Path lines
Afficher commentaires plus anciens
Hi everybody,
I have my coordinate data -X and Y vectors- and my velocity vectors U and V all being the same size. I would like to plot path lines of my fluid particles which are flowing through a porous medium. With these 4 known vectors any suggestions on how to do that??
Thanks in advance.
Réponse acceptée
Plus de réponses (1)
Star Strider
le 16 Juin 2014
1 vote
I do not know exactly what you want to do, however at least one of the Vector Fields plotting functions will likely do what you want.
4 commentaires
Ceren GURKAN
le 16 Juin 2014
Ceren GURKAN
le 16 Juin 2014
Star Strider
le 16 Juin 2014
The unique function does not work well with floating point data because of inherent floating-point approximation error. I suggest you not use it with those data.
The contour and surf plots (with quiver3 may also do what you want, but since I don’t know your data, I can only suggest you experiment with them until you get the result you want.
The only other options I can think of are plot and plot3. They are relatively simple, but they may work in your applicataion. (You may have to segment your data to use the line plots.)
Ceren GURKAN
le 16 Juin 2014
Catégories
En savoir plus sur Vector Fields dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
