Hi all,
I just stumbled over the following trying to add a title to a plot:
<hansl>
set verbose off
nulldata 10
series y = normal()
scalar a = 0.98
gnuplot y --time-series --output=display \
{set title sprintf("Some statistics = %.2f", a);}
<>
As you can see, I tried to apply the handy expression using the
sprintf() function. It does _not_ provike an error, but the value of
`a` is printed as `nan`.
Is sprintf() actually supported? If not, I guess an error should be
thrown.
If it actually is supported, the right value of a should be printed.
Thanks,
Artur
Show replies by date