I have made the following plot:
However, if I simply multiply the value of x by 1000, I get a different plot. The values of u, v and w remain unchanged:
Notice that the u wind has changed a lot in the second plot, but the u wind array still remains the same.
Any ideas of what is going on?
Here is the code for the first plot:
import plotly.graph_objects as go
import numpy as np
from plotly.offline import plot
import plotly.graph_objs as go
import plotly.figure_factory as ff
import numpy as np
import plotly.graph_objects as go
from plotly.subplots import make_subplots
import numpy as np
x = X.flatten()
y = Y.flatten()
z = Z.flatten()
U = U.real
V = V.real
W = W.real
fig = go.Figure(data=go.Cone(
x=x,
y=y,
z=z,
u=u,
v=v,
w=w,
sizemode=“absolute”,
sizeref=30,
colorscale=‘Blues’,
anchor=“tip”))
plot(fig)