title: Plotting factorial of x function in gnuplot?
body: <p>I'm trying to plot the <em><code>x!</code></em> function in gnuplot, I defined first the factorial function and then called it, but I'm always getting stack overflow, no matter what bounds I set to the graph.</p>
  
  <p>This what I've tried:</p>
  
  <pre><code>gnuplot&gt;  fac(n) = (n==0) ? 1 : n * fac(n-1)  
  gnuplot&gt; plot [0:10][0:10] log(fac(x)), log(x**x)  
  stack overflow
  </code></pre>