|
From: Petr M. <mi...@ph...> - 2005-06-15 13:41:08
|
> A workaround is the following: > plot ''.f(1), ''.f(2) I wanted to simplify my life when plotting files a333.dat, a334.dat, ... not to make it more difficult via ''. > clear that a data file is being plotted, whereas `plot f(1)` could be a > constant-valued function. But it is clear whether the function returns string or scalar. If string, then it is filename for (s)plot, otherwise scalar function its values to be drawn. Otherwise, would it make sense draw a curve/surface with strings, like f(x,y)='point '.x.','.y; splot f(x,y) ? I don't think so. BTW, in the recent addition: I would prefer "substr" function name (like in awk) instead of the longer "substring". --- PM |