title: gnuplot with python 3x
body: <p>How to use gnuplot with python3x on Windows. I have been using follwoing code. </p>
  
  <pre><code>import subprocess
  proc = subprocess.Popen(['Patho to gnuplot executable','--persist'], 
                      shell=False,
                      stdin=subprocess.PIPE,
                      )
  proc.stdin.write(b'set xrange [0:10]; set yrange [-2:2] \n')
  proc.stdin.write(b'plot sin(x) \n')
  proc.stdin.write(b'quit \n') 
  </code></pre>