How to Plot Path lines
이전 댓글 표시
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.
채택된 답변
추가 답변 (1개)
Star Strider
2014년 6월 16일
1 개 추천
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
Ceren GURKAN
2014년 6월 16일
Ceren GURKAN
2014년 6월 16일
Star Strider
2014년 6월 16일
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
2014년 6월 16일
카테고리
도움말 센터 및 File Exchange에서 Vector Fields에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
