On Sun, 21 Jan 2024, Sven Schreiber wrote:
I was trying to get some shaded bars similar to recession bars
with the usual plotting GUI apparatus, but in the context of
annual data. I created pure text files with pairs of dates (years)
as instructed; the contents is like this:
2015 2016
2018 2019
2021 2022
Gretl did not accept this, however, saying the format
specification isn't met.
If you try adding bars via the GUI plot dialog and select "Other"
(to skip NBER recessions), then click "See example", you get an
example, with a comment that includes "each non-comment line must
contain two space-separated dates in the format YYYY:MM". If you
supply dates in this format they will work with annual data.
However, we will now (in git, with snapshots to follow) accept two
plain years per line. In this case the month is implicitly 1 for the
first year and 12 for the second.
Allin Cottrell