-
-
Save fobos531/ee97dcbb4223ff12e1ce707af55f30f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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