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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!