|
From: Daniel B. <dbo...@gm...> - 2018-01-28 19:32:36
|
Hi Ethan, Thanks for the fast reply and the welcome! And, of course, for all the work you're doing on gnuplot. Apologies for slacking on the info and test case. I'm using gnuplot 5.2 patchlevel 2. Including a test case would've shown you that I was just being silly, but thankfully you linked to a thread that proved that anyway... I think, but I'm not 100% sure, that what you want is possible in the > current release version of gnuplot (5.2.2). See the discussion attached > to tracker issue #1968 > https://sourceforge.net/p/gnuplot/bugs/1968/ > > That discussion ends with a note that a "using" specifier can now > (Sept 2017) call columnhead(index) as a function. However the test case > shown does not involve hypertext, and it uses real column headers rather > than index labels. So it might not cover your specific data format. > If not, please provide an example data file and the hypertext command > you are trying to use. You can attach these to the above issue tracker > and I will re-open the bug if appropriate. > I honestly had no idea that columnhead and columnheader were different things, and I had only been trying the latter... It might've taken me a while to realise these were 2 distinct things! You'll be please do know that, indeed, using columnhead(index) does work on hypertext points, too. So I can drop my ugly workarounds now! Many thanks for the quick and direct response. It's also an interesting thread to read; I dare say that I'd currently be requesting the same feature, if it weren's already in. :) Cheers, Daniel |