Python 3D 플로팅 연습하기
Python 3D 플로팅 연습하기 1) x, y, z 랜덤값 플로팅 (marker='v') 1 2 3 4 5 6 7 8 9 10 11 12 13 import numpy as np import matplotlib.pyplot as plt from mpl_toolkits import mplot3d # Single Points ax = plt.axes(projection="3d") x_data = np.random.randint(0, 100, (500,)) y_data = np.random.randint(0, 100, (500,)) z_data = np.random.randint(0, 100, (500,)) ax.scatter(x_data, y_data, z_data, marker="v") plt.show()..
2022. 1. 4.