docs - quiver 3 problem
danton267 opened this issue · 1 comments
danton267 commented
[x, y, z] = meshgrid(-0.8:0.2:0.8, -0.8:0.2:0.8, -0.8:0.8:0.8);
u = sin(pi*x).*cos(pi*y).*cos(pi*z);
v = -cos(pi*x).*sin(pi*y).*cos(pi*z);
w = sqrt(2/3)*cos(pi*x).*cos(pi*y).*sin(pi*z);
figure
quiver3(x, y, z, u, v, z)
axis([-1 1 -1 1 -1 1])
title('Turbulence Values')
xlabel('x')
ylabel('x')
zlabel('z')
fig2plotly(gcf);
Does not work. All the other quier3 do.
It results in the following warning
Arguments must be 2-D, or at least one argument must be scalar. Use TIMES (.*) for elementwise multiplication, or use PAGEMTIMES to apply matrix multiplication to the pages of N-D arrays.
We had trouble parsing the quiver object.
This trace might not render properly.
gilbertogalvis commented
