1
2
3
4
5
6
7
8
9
10
11
12
set terminal png small
set output 'clip.png
set title "Sansa AMS clocking - Sansa Clip"
set ylabel "(Charge %)"
set xlabel "(Hours)"
set xdata time          # The x axis data is time
set timefmt "%H:%M:%S"  # The times in the file look like 23:59:59
set format x "%H:%M"    # On the x-axis, we want tics like 23:59
plot    "plot_clip_current.txt" using 1:3 title "r21037" with line, \
        "plot_clip_62.txt" using 1:3 title "fclk 62 pclk 31" with line, \
        "plot_clip_124.txt" using 1:3 title "fclk 124 pclk 62" with line, \
        "plot_clip_fastbus.txt" using 1:3 title "fclk 62 pclk 62" with line