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.