Quiver plots with 3D wind components

2 views (last 30 days)
Federico
Federico on 3 May 2015
Commented: Yang Song on 9 Aug 2016
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
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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!