From: Ethan A M. <eam...@gm...> - 2018-10-14 04:15:56
|
On Sunday, 14 October 2018 05:34:59 Patrick Dupre wrote: > > > > 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 > > > I am running 5.0.6 from the fedora 28 distribution > It looks like than even fedora 29 comes with the version 5.0.6 Huh. I had the impression that Fedora was known for "bleeding edge" software versions. Since gnuplot 5.2 came out more than a year ago I would have thought it would have been picked up by now. FWIW Ubuntu and Mageia are both on 5.2.2 for their "upcoming release" spins, and OpenSUSE is fully current at 5.2.5. Maybe it would be worth poking the Fedora packaging team? Ethan |