Ok, I see that now. I think I've also discovered that my real problem is with gnuplot,
not Gretl.
Thanks again, Allin.
PS
-----Original Message-----
From: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces@lists.wfu.edu] On
Behalf Of Allin Cottrell
Sent: Friday, June 14, 2013 12:14 PM
To: Gretl list
Subject: Re: [Gretl-users] bug in string substitution?
On Fri, 14 Jun 2013, Summers, Peter wrote:
I spoke to soon in my earlier message -- the problem now seems even
stranger. [...]
The numbers are all correct, you just have to take charge of the printing format. By
default gretl prints scalar values with printf format "%g" (to six signficant
figures, dropping any trailing zeros), and prints matrices to five significant figures. To
see these values as you wish them, use "%.1f" for quarterly and "%.2f"
for monthly. So for example,
printf "\n%.2f\n", jnk
"%.2f" means print a floating point number to two decimal places.
Allin
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users