Answers for "plot 3d python"

2

3d plots in python

#import pyplot and Axes3D
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D

#plotting a scatter for example
fig = plt.figure()
ax = fig.add_subplot(111,projection = "3d")
ax.scatter(xs = data["x"], ys = data["y"], zs = data["z"])
fig
Posted by: Guest on August-11-2021
0

plot 3d python

fig = plt.figure()
ax = plt.axes(projection='3d')
Posted by: Guest on June-29-2021
-1

plot 3d python

from mpl_toolkits import mplot3d
Posted by: Guest on January-12-2021

Browse Popular Code Answers by Language