I am a new user of plotly and currently am struggling to plot a 3D surface envelop given the minimum and maximum values.
Here is a MRE:
import numpy as np
import plotly.graph_objects as go
x = np.arange(10)
y=x
z=x
fig = go.Figure()
fig.add_trace(
go.Scatter3d(
x=x,
y=y,
z=z,
mode='lines'))
x_min = x - 0.1*np.random.rand(10)
x_max = x + 0.1*np.random.rand(10)
y_min = x - 0.1*np.random.rand(10)
y_max = x + 0.1*np.random.rand(10)
z_min = x - 0.1*np.random.rand(10)
z_max = x + 0.1*np.random.rand(10)
How can I plot the surface bounded by x,y,z -min
and x,y,z -max