I generated a 2d array, in each row, there is a random x, random y and f(x,y).
I chose random x
and y
because f(x, y)
is very long to compute.
I used Axes3D
from mpl_toolkits.mplot3d
to draw the result :
ax.scatter(tableau[:,0], tableau[:,1], zs=tableau[:,2], c='r', marker='o')
The result is not useful. Impossible to understand the shape of f
Is there a better way to draw f(x,y)?