Quiver plots with 3D wind components
3 views (last 30 days)
Show older comments
Kind all,
I'm trying to visualize the output of a dispersion model in MATLAB. The model has a computational domain of 250*250 horizontal points and 10 vertical levels and it therefore outputs 250*250*10 matrices of different variables, including the U and V (i.e.: horizontal and trasversal) wind speeds. I am quite able to visualize those matrices in 3D using MATLAB's contourslice function, but I had no luck in obtaining a similar visualization for wind direction.
MATLAB has the quiver3 function, but that function wants U and V as vectors, while I have U and V "cubes". I can visualize a single slice of them by employing the quiver function on a single "layer" of the cube, like this:
quiver(U(:,:,1),V(:,:,1))
But I was wondering if there was a way to either stack such layers in a 3D plot (like contourslice does) or to visualize the whole volumetric direction field.
1 Comment
Yang Song
on 9 Aug 2016
Hello, Federico. I have the same problem as you described here. Did you solve the problem?If so, will you share your answer here. Many Thanks.
Regards Yang
Answers (0)
See Also
Categories
Find more on Thermal Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!