Question: Smooth the curve from the following plot in python: x=np.array([0.5, 0.789824305701336, 0.702392997628582, 0.120253242835095]) y=np.array([0, 0.431482984743783, 1.09391228025027, 1.69574147722689]) z=np.array([0.7, 1.0, 1.3, 1.6 ]) print( ) fig
Smooth the curve from the following plot in python:
x=np.array([0.5, 0.789824305701336, 0.702392997628582, 0.120253242835095])
y=np.array([0, 0.431482984743783, 1.09391228025027, 1.69574147722689])
z=np.array([0.7, 1.0, 1.3, 1.6 ])
print(" ")
fig = plt.figure()
ax = plt.axes(projection='3d')
#plt.plot(x, y)
plt.plot(x, y, 'bo')
# naming the x axis
ax.set_xlabel('$X$')#, fontsize=20, rotation=150)
ax.set_ylabel('$Y$')
plt.show()
ax.set_zlabel(r'$Z$')#, fontsize=10, rotation=180)
ax.yaxis._axinfo['label']['space_factor'] = 3.0
how can i smooth the plot betweeen (x,y),(x,z) and (y,z)?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
