Quiver plots with 3D wind components

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 个评论

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

请先登录,再进行评论。

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Thermal Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by