# Make a contour plot. #using Plotly # Another option using PyPlot plt = PyPlot function makecplot() bign = 10+1 xx = linspace(-1,1,bign) yy = linspace(-1,1,bign) xx = repmat(xx', bign, 1) yy = repmat(yy, 1, bign) zz = exp(-0.5*(xx.^2+yy.^2)) plt.figure("Contour plot") p1 = plt.contour(xx,yy,zz) plt.clabel(p1, inline=1, fontsize=10) savefig("plot.pdf") end makecplot()