You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>> fig2plotly()
To RESHAPE the number of elements must not change.
We had trouble parsing the quiver object.
This trace might not render properly.
% Create a grid of x,y, and z values
[x, y, z] = meshgrid(-0.8:0.2:0.8, -0.8:0.2:0.8, -0.8:0.8:0.8);
% Calculate homogenous turbulence values at each (x,y,z)
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);
% Draw a 3 dimensional quiver plot using the quiver3 function
figure
quiver3(x, y, z, u, v, z)
% Set the axis limits
axis([-1 1 -1 1 -1 1])
% Add title and axis labels
title('Turbulence Values')
xlabel('x')
ylabel('x')
zlabel('z')
The text was updated successfully, but these errors were encountered:
quiver3() always seems to get this error for me:
The text was updated successfully, but these errors were encountered: