title: Python matplotlib 3d surface plot
body: <p>I am trying to convert an equation for a surface plot written for mathematica (image and script below) to a python script using matplotlib. There are only a handful of examples of surface plots on the web.</p>
  
  <p><img src="https://i.stack.imgur.com/Ljyzj.png" alt="enter image description here"></p>
  
  <p>Help would be appreciated for my non functioning one of many attempts</p>
  
  <pre><code>from mpl_toolkits.mplot3d import Axes3D
  import matplotlib.pyplot as plt
  import numpy as np
  
  fig = plt.figure()
  ax = fig.add_subplot(111, projection='3d')
  
  x = np.linspace(2,-2)
  y = np.linspace(2,-2)
  z = np.linspace(2,-2)
  
  
  surfx = -1 * (pow(y, 10) + pow(z, 10) - 100)
  surfy = -1 * (pow(x, 10) + pow(z, 10) - 100)
  surfz = -1 * (pow(x, 10) + pow(y, 10) - 100)
  
  
  ax.plot_surface(surfx,surfy,surfz,  rstride=4, cstride=4, color='b')
  
  plt.show()
  </code></pre>