## # 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 multiplot layout 1,2 #set xrange[-5:5] #set yrange[-5:5] set view 79,285 set isosamples 30,30 set hidden3d splot x**2 + y**2 + x**2*y title "f(x, y) = x^2 + y^2 + x^2y" splot 2*x + 2*x*y title "f_x(x, y) = 2x + 2xy", \ 2*y+x**2 title "f_y(x, y) = 2y + x^2"