This is my code:
`import numpy as np
import mayavi.mlab as mlab
x, y = np.ogrid[-2:2:20j, -2:2:20j]
z = x * np.exp( - x2 - y2)
pl = mlab.surf(x, y, z)
mlab.axes(xlabel='x', ylabel='y', zlabel='z')
mlab.outline(pl)
mlab.show()`
when I ran this code, I got this:
and this is the image:
I have no idea about it. Can anyone help me? thx!!!!
This is my code: `import numpy as np import mayavi.mlab as mlab
x, y = np.ogrid[-2:2:20j, -2:2:20j] z = x * np.exp( - x2 - y2)
pl = mlab.surf(x, y, z) mlab.axes(xlabel='x', ylabel='y', zlabel='z') mlab.outline(pl) mlab.show()` when I ran this code, I got this: and this is the image: I have no idea about it. Can anyone help me? thx!!!!