you could use the specific dates to generate an alternating function
which switches between two values which are outside your y-range.
an example:
set xdata time
set timefmt "%d.%m.%Y %H:%M"
set yrange [0:7]
set clip two
plot '-' us 1:3 w lp, '-' us 1:(3.5+4.0*(-1)**($0+1)) w steps
01.01.2009 15:30 1
02.01.2009 16:30 2
03.01.2009 17:30 3
04.01.2009 18:30 4
05.01.2009 19:30 5
06.01.2009 20:30 6
e
01.01.2009 23:00
01.01.2009 23:00
03.01.2009 23:00
05.01.2009 23:00
05.01.2009 23:00
e
babelproofreader wrote:
>
> I would like to plot a time series with vertical lines drawn at specified
> dates. The data for the time series is contained in one data file and the
> data for the specified dates is contained in another file. Can anyone show
> me how this could be done, or alternatively point me to the relevant
> section of the manual?
>
--
View this message in context: http://www.nabble.com/Draw-vertical-line-at-a-specified-date-tp21728596p21750018.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|