How to change streamslice figure z-axis offset?
Show older comments
I am trying to plot a 3d quiver vector field, a 2d contour, and a streamslice plot simultaneously in one figure. What I want to get is something like this:

but currently my streamslice plot is not on the same xy-plane as the the contour plot and the quiver plots:

I use the following commands to plot my graphs:
[~,h] = contourf(ygrid,zgrid,uq,10);
h.ContourZLevel = 6;
streamslice(ygrid,zgrid,vq,wq)
hold on
quiver3(y_array, z_array, x_array, v_array, w_array, u_array)
zlim([0 6.01])
% axis equal
hold off
where the contour plot z-axis offset could be changed easily through the ContourZLevel command.
I wonder if there is any fast way to change the z-axis offset of the streamslice plot?
Thank you!
Answers (0)
Categories
Find more on Vector Fields 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!