绘制一副3D图像 draw3D(X,Y,Z, angle) import numpy as np from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D #X,Y,Z are np.array #angle is a tuple, stands for the initial view angle of 3D figure def draw3D(X,Y,Z, angle): fig = plt.fi…