Scatterplot 3D
import numpy as np
import [Link] as plt
height = [Link]([100, 110, 87, 95, 65, 80, 90])
weight = [Link]([106, 123, 84, 85, 75, 88, 92])
fig = [Link]()
ax = fig.add_subplot(111, projection='3d')
[Link](height, weight, np.zeros_like(height))
ax.set_xlabel('Length')
ax.set_ylabel('Width')
ax.set_zlabel('Height')
[Link]()
Line Graph 3D
import numpy as np
import [Link] as plt
fig = [Link]()
ax = fig.add_subplot(111, projection='3d')
x = [Link](-5, 5, 100)
y = [Link](-5, 5, 100)
z = [Link](x) * [Link](y)
[Link](x, y, z, color='red')
ax.set_xlabel('X Axis')
ax.set_ylabel('Y Axis')
ax.set_zlabel('Z Axis')
[Link]()