A contour plot is just a 2D way of presenting a 3D plot by drawing curves on which z=f(x,y) has the same value. Here the option "levels = 0" ensures the points (x, y) on the curve has the z value of 0. Normally more than one such curves will be drawn to show different contour curves corresponding to different z values, or levels. And I added the option "labcex=0" and "labels = """ just to eliminate the labels completely. Otherwise there will be "0" or short breaks on the curve which I hate.
另外运行此程序后, 我的显示中间为 白板。怪~
I have no clue why this happened. But I did have issues running the "outer" function in the scripts where huge amount of memory was required. I had to change the resolution of both x and y dimensions to produce the plot.