import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits import mplot3d
x = np.linspace(-6,6,30)
y = np.linspace(-6,6,30)
X,Y = np.meshgrid(x,y)
Z = np.sin(X)
fig = plt.figure()
ax = plt.axes(projection='3d')
ax.contour3D(X,Y,Z,50,cmap='binary')
plt.show()
No hay comentarios:
Publicar un comentario