Hi there,
I can't get the script below to do what I want, namely make gnuplot draw continuous lines between the respective datasets "Yes", "No" and "Maybe". Can anybody help?
Best
Uwe
#!/gnuplot
#
#
# G N U P L O T
# Version 5.0 patchlevel 3 last modified 2016-02-21
#
# Copyright (C) 1986-1993, 1998, 2004, 2007-2016
# Thomas Williams, Colin Kelley and many others
#
# gnuplot home:
http://www.gnuplot.info
# faq, bugs, etc: type "help FAQ"
# immediate help: type "help" (plot window: hit 'h')
set terminal png
set output "out.png"
set datafile missing "?"
set style data points
set xdata time
set timefmt "%Y-%m-%d"
set xrange ["2017-01-01":"2017-01-09"]
set format x "%m/%d"
set timefmt "%Y-%m-%d"
#set table 'tmp.dat'
$data << EOD
Date Yes No Maybe
2017-01-01 ? 9 ?
2017-01-02 2 ? 1
2017-01-03 3 7 ?
2017-01-04 ? 6 ?
2017-01-05 5 5 9
2017-01-06 6 4 ?
2017-01-07 7 ? 1
2017-01-08 ? 2 ?
2017-01-09 9 1 5
EOD
plot "$data" using "Date":"Yes" w l, "$data" using "Date":"No" with steps, "$data" using "Date":"Maybe" smooth sbezier