## # 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 isosamples 40, 40 set parametric set hidden3d set xrange[-2:2] set yrange[-2:2] set zrange[0:4] set parametric splot 2*cos(u), 2*sin(u), v title "x^2 + y^2 = 4", u, v, u**2 title "z = x^2" unset hidden3d splot 2 * cos(u), 2 * sin(u), 4 * cos(u)**2 title "r(t) = <2cos(t), 2sin(t), 4cos^2(t)>"