Line plot in GnuPlot where line width is a third column in my data file?
<p>I have a datafile that has three columns :</p>

<pre><code>1 1.0 1
2 1.5 2
3 0.0 3
4 1.2 2.5
5 1.0 1
6 1.1 5
</code></pre>

<p>where the first column is my X value, the second column is my Y value, and the third column is the line width.  I'd like for each line segment to be plotted according to the third column line width. </p>

<p>I tried:</p>

<pre><code>plot 'file1.dat' using 1:2:3  with lines lw var
</code></pre>

<p>But I get undefined variable: var error.</p>

<p>Is this possible in gnuplot?</p>

<p>Thanks.</p>