simple-histo.gnuplot 347 B

123456789101112131415161718
  1. #!/usr/bin/gnuplot
  2. #
  3. # Simple gnuplot script to draw an histogram
  4. #
  5. set terminal jpeg enhanced size 1024,640
  6. set output "histo-m2d6n10000.jpeg"
  7. set style data histogram
  8. set style fill solid border -1
  9. set boxwidth 2
  10. set title 'Frequency Histogram Example'
  11. set xlabel 'Dice Faces'
  12. set ylabel 'N'
  13. plot 'm2d6n10000.out' u 2:xticlabel(1) title ''