|
From: Juergen W. <wie...@fr...> - 2009-03-09 16:46:37
|
> if(isanumber(c_token)) {
> column_for_key_title = int_expression();
> } else {
> column_for_key_title = (int)(real(const_express(&a)));
> }
int_expression() does exactly the same as
(int)(real(const_express(&a))).
> 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.
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
|