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
_______________________________________________
Gretl-users mailing list -- gretl-users@gretlml.univpm.it
To unsubscribe send an email to gretl-users-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/

Reply via email to