How can I get the values along a line plotted over a quiver plot?
조회 수: 7 (최근 30일)
이전 댓글 표시
I have a quiver plot of flow velocities and I want to make a velocity profile at a certain point in the flow. How can I get the values at a line intersecting with the quiver plot like in the example I have attached?

댓글 수: 0
답변 (1개)
Kartik
2023년 2월 21일
편집: Kartik
2023년 2월 21일
Hi Jasper,
To get the velocity values at a line intersecting with a quiver plot, you can use the interp2 function to interpolate the velocity data onto a line that you specify.
For more information regarding the interp2 function, refer to the link below:
https://www.mathworks.com/help/matlab/ref/interp2.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Vector Fields에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!