@@ -0,0 +1,538 @@
+#!/usr/bin/env python%0A# -*- coding: utf-8 -*-%0A%0Afrom mpl_toolkits.mplot3d import axes3d%0Aimport matplotlib.pyplot as plt%0Aimport numpy as np%0Aimport math%0A%0A# Build datas ###############%0A%0Ax = np.arange(-5, 5, 0.25)%0Ay = np.arange(-5, 5, 0.25)%0A%0Axx,yy = np.meshgrid(x, y)%0A%0Az = np.zeros(xx.shape)%0A%0Afor xi in range(z.shape%5B0%5D):%0A    for yi in range(z.shape%5B1%5D):%0A        z%5Bxi, yi%5D = math.sin(math.sqrt(xx%5Bxi, yi%5D**2 + yy%5Bxi, yi%5D**2))%0A%0A# Plot data #################%0A%0Afig = plt.figure()%0Aax = axes3d.Axes3D(fig)%0Aax.plot_wireframe(xx, yy, z)%0A%0Aplt.show()%0A%0A

Add a snippet.