|
From: Ethan A M. <merritt@u.washington.edu> - 2009-03-09 17:38:39
|
On Monday 09 March 2009, Juergen Wieferink wrote: > > > May I request adding a simple example like this (using for loop and > > "title column()") to > > http://gnuplot.sourceforge.net/demo/datastrings.html > > ? > > Mmmh. As far as I can see this feature is undocumented up to now. > >From the code, > > plot ... title column(<int expr>) > > does more or less the same as > > plot ... title <int const> > > The command > > plot ... title column > > without following "(" tries to guess which column to fetch data > from, which in this case might be exactly what you want. I do not > like that "column" has two different meanings. Yes, the code is very hackish. And column(n) seems wrong anyhow, since it is documented as returning a numerical value whereas in this case we want a string. It would be better as plot ... title stringcolumn(n) > As soon as it is documented or in the demos, this can never be > changed. > > > Also, it would be very helpful to havea tiny bit of information or a > > simple sample available under > > "help for" > > > > I have read again "help plot/title" and then "datastrings", but didn't > > find the any mention of "column". May I request adding some info on > > that? > > Juergen > -- Ethan A Merritt |