Thanks I tried the suggested gnuplot command and both of them work fine. However, I found a potential "bug.'
For example, I run the following script: open djclose figure1 <- gnuplot djclose {set arrow from 1985,graph 0 to 1985,graph 1 nohead;} --with-lines --time-series It works. But if I run "figure 1" <- gnuplot djclose {set arrow from 1985,graph 0 to 1985,graph 1 nohead;} --with-lines --time-series I got an error: "Command has insufficient arguments" Did I do something wrong? Yi-Nung Yang 2009/11/4 Ignacio Diaz-Emparanza <ignacio.diaz-emparanza(a)ehu.es>: > El Miércoles, 4 de Noviembre de 2009 "Alan G Isaac" <alan.isaac(a)gmail.com> > escribió " [SPAM]Re: [Gretl-users] How to draw a vertical line on a time > series plot?" > >> Just add this to your extra gnuplot commands: >> >> set arrow from x0,y0 to x1,y1 nohead >> >> hth, >> Alan Isaac > > Thank you, it is very interesting. Googling with your keywords I also found > this other command that draws a line from bottom to top of the graphic and > only depends on the x value: > > set arrow from xvalue, graph 0 to xvalue, graph 1 nohead > > > -- > Ignacio Diaz-Emparanza > DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA) > UPV/EHU > Avda. Lehendakari Aguirre, 83 | 48015 BILBAO > T.: +34 946013732 | F.: +34 946013754 > www.et.bs.ehu.es > > _______________________________________________ > Gretl-users mailing list > Gretl-users(a)lists.wfu.edu > http://lists.wfu.edu/mailman/listinfo/gretl-users >