1. set term png
  2. set output 'heal.png'
  3.  
  4. set grid
  5. set xlabel 'hitpoints'
  6. set ylabel 'probability'
  7. set title 'Greater healing'
  8. set xrange [0:1500]
  9. set yrange [0:1]
  10.  
  11. set multiplot
  12. plot 'data.txt' using 1:2 title 'animal' with lines, \
  13. 'data.txt' using 1:3 title 'demon' with lines, \
  14. 'data.txt' using 1:4 title 'undead' with lines, \
  15. 'data.txt' using 1:5 title 'normal' with lines
  16. unset multiplot
  17.  
  18. #pause -1 "Press return"
  19. reset