首页 > TAG信息列表 > Axes3D

【python】matplotlib画3D图

画点: 点击查看代码 from matplotlib import pyplot as plt import numpy as np from mpl_toolkits.mplot3d import Axes3D x = np.random.rand(100) y = np.random.rand(100) z = np.random.rand(100) fig = plt.figure() ax = Axes3D(fig, auto_add_to_figure=False) fig.ad