set terminal pngcairo size 820,460 font "Sans,11" background rgb "white"
set output "bus8.png"
set title "bus8.cir — 8-bit filesource bus (walking-1), per-bit offset stacking"
set xlabel "time  (ns)"
set ylabel "node voltage  (V)"
set grid ytics lc rgb "#dddddd"
set key outside right top spacing 1.1 samplen 1.5
set yrange [0.05:0.95]
set xrange [0:850]
set style line 1 lw 2 lc rgb "#1f77b4"
# columns: 1=time, 2=a7 ... 9=a0
plot \
  "bus8.txt" u ($1*1e9):2 w l lw 2 lc rgb "#d62728" t "a7", \
  ""         u ($1*1e9):3 w l lw 2 lc rgb "#ff7f0e" t "a6", \
  ""         u ($1*1e9):4 w l lw 2 lc rgb "#bcbd22" t "a5", \
  ""         u ($1*1e9):5 w l lw 2 lc rgb "#2ca02c" t "a4", \
  ""         u ($1*1e9):6 w l lw 2 lc rgb "#17becf" t "a3", \
  ""         u ($1*1e9):7 w l lw 2 lc rgb "#1f77b4" t "a2", \
  ""         u ($1*1e9):8 w l lw 2 lc rgb "#9467bd" t "a1", \
  ""         u ($1*1e9):9 w l lw 2 lc rgb "#e377c2" t "a0"
