Skip to content

Instantly share code, notes, and snippets.

@fobos531
Created May 8, 2019 18:37
Show Gist options
  • Save fobos531/a3062cb84b86a3e3aeee4ffd078a4674 to your computer and use it in GitHub Desktop.
Save fobos531/a3062cb84b86a3e3aeee4ffd078a4674 to your computer and use it in GitHub Desktop.
def h(x,y):
return (2*math.cos(0.4*x)*math.cos(0.4*y)+5*x*y*e^(-x^2-y^2)+3*e^(-(x-2)^2-(y-2)^2))
cm=colormaps.autumn
P = plot3d(h,(0,4),(0,4), color=(h,cm))
P.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment