## # mod_tex: distributed LaTeX-rendering over Apache # Copyright (C) 2007 Peter Danenberg # See doc/COPYING for details. set term pngcairo size 800,600 font ",8" enhanced crop set output 'plot.png' set xrange[-2:2] set yrange[-2:2] set hidden3d set isosamples 100,100 set contour set grid set view ,,,1.5 f(x,y) = (1-3*x**2+y**2)*exp(1-x**2-y**2) splot f(x,y) title "(1 - 3x^2 + y^2)e^{1 - x^2 - y^2}"