## # 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 [0:12] set sample 10000 f(x)= pi/4*cos(x) + cos(2*x)/(2**2-1) - cos(4*x)/(4**2-1) + cos(6*x)/(6**2-1) - cos(8*x)/(8**2-1) + cos(10*x)/(10**2-1) plot f(x)