How can I get the values along a line plotted over a quiver plot?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1196803/image.png)
0 Kommentare
Antworten (1)
Kartik
am 21 Feb. 2023
Bearbeitet: Kartik
am 21 Feb. 2023
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 Kommentare
Siehe auch
Kategorien
Mehr zu Vector Fields finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!