|
From: Ethan A M. <eam...@gm...> - 2018-10-14 03:01:27
|
On Sunday, 14 October 2018 03:39:38 Patrick Dupre wrote:
> y_lin(x,a) = a * x
> set table "tmp.asc" ; plot [-10:10] '+' u 1:(y_lin (x,2)) with table ; unset table
> set table "tmp.asc" ; plot [-10:10] '+' u (sprintf("%g",$1)):(y_lin (x,2)) with table ; unset table
Those both produce the same output for me when tested with
versions 5.2.0 5.2.5 (current) and development version 5.3
I do see NaN output fields when testing with version 5.0.7
So if you are running 5.0 I think the answer is that "with table" didn't
gain the ability to handle string data columns until version 5.2
If you are running 5.2 please tell us the precise gnuplot version
and operating system environment you are running.
Ethan
|