iodist-pdf.gplt 872 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#!/usr/bin/gnuplot -persist

set terminal pdf enhanced fname "Helvetica" fsize 10
set output "iodist.pdf"
set size 0.8,1.0

set style data histogram
set style histogram cluster gap 1
set style fill solid border -1
set boxwidth 0.9
set bmargin 5
set border 3 front linetype -1 linewidth 1.000

# set key out bottom horiz
set xtics border in scale 1,0.5 nomirror rotate by -45 offset character 0, 0, 0
set ytics border in scale 1,0.5 nomirror norotate  offset character 0, 0, 0

set key title ""
set datafile separator ","

set xlabel "Number of Files Accessed"
set xlabel offset character 0,-1,0 font "" textcolor lt -1 norotate

set ylabel "Number of Processes"
set ylabel offset character 2,0,0 font "" textcolor lt -1 rotate by 90

set title "I/O Operations per Client"
plot  "iodist.dat" using 2:xtic(1) title "Read", \
      "" using 3 title "Write (NOT WORKING YET)"