title: How to save a graph through command line with Gnuplot?
body: <p><code>gnuplot -p -e "plot [-4:4] exp(-x**2 / 2); set terminal png size 400,300; set output 'xyz.png'"</code></p>
  
  <p>That's what I have tried. It does create the png, but corrupted.</p>
  
  <p>Where am I going wrong?</p>