title: Gnuplot: Load command
body: <p>I tried to separate the gnuplot environment commands and the data plot command. The gnuplot script is:</p>
  
  <pre><code>set terminal postscript eps enhanced color
  set output "/out.eps"
  set size 0.80,0.80
  ...
  ...
  load 'path/to/plot_command.txt
  </code></pre>
  
  <p>where <code>plot_command.txt</code> has the following commands:</p>
  
  <pre><code>plot '&lt; tail -7 /Data2.stat' using 1:2 title "Data2" with lp lw 4, \
    '&lt; tail -7 /Data3.stat' using 1:2 title "alnmindrepl07" with lp lw 4, \
     ....................................
  </code></pre>
  
  <p>However, I get the following error:</p>
  
  <blockquote>
    <p>plot '&lt; tail -7 /Data2.stat' using 1:2 title "Data2" with lp lw 4,<br>
    ^<br>
    "/plot_command.txt", line 2: function to plot expected</p>
  </blockquote>
  
  <p>Any suggestions?</p>