plot.example
changeset 3 944224048b5a
equal deleted inserted replaced
2:6fae69860129 3:944224048b5a
       
     1 #! /usr/bin/gnuplot
       
     2 
       
     3 # example script for gnuplot.
       
     4 # I'm sure, it could be more sophisticated…
       
     5 
       
     6 set terminal qt noraise
       
     7 set grid
       
     8 set xlabel 'time (s)'
       
     9 set ylabel 'speed (MB/s)'
       
    10 set logscale y
       
    11 set title 'dd if=bigFile …'
       
    12 plot 'log-big-dd-async.log' using 1:3 title 'dd of=/dev/sdb' with lines, \
       
    13      'log-big-dd-sync.log'  using 1:3 title 'dd of=/dev/sdb oflag=sync' with lines, \
       
    14      'log-big-vfat-default.log'  using 1:3 title 'dd of=<vfat default>' with lines, \
       
    15      'log-big-ext2-default.log'  using 1:3 title 'dd of=<ext2 default>' with lines, \
       
    16      'log-big-ext4-default.log'  using 1:3 title 'dd of=<ext4 default>' with lines, \
       
    17      'log-big-btrfs-default.log'  using 1:3 title 'dd of=<btrfs default>' with lines
       
    18 
       
    19 
       
    20 # interaktiv
       
    21 pause -1
       
    22 
       
    23 # Verlauf anzeigen
       
    24 #while (1) { pause 3; replot; }