Advertisement
Guest User

Untitled

a guest
Dec 10th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.68 KB | None | 0 0
  1. #!/usr/bin/gnuplot
  2. reset
  3. set terminal png
  4.  
  5. set xlabel "Iterations"
  6. set ylabel "Wave"
  7.  
  8. set title "Wave propagation (150 x 150) by geophones"
  9.  
  10. set style line 1 lt 1 lw 3 pt 3 linecolor rgb "red"
  11. set style line 2 lt 1 lw 3 pt 3 linecolor rgb "blue"
  12. set style line 3 lt 1 lw 3 pt 3 linecolor rgb "green"
  13. set style line 4 lt 1 lw 3 pt 3 linecolor rgb "black"
  14.  
  15. set term png enhanced size 800,600
  16.  
  17. plot "0" using 2:3 w l ls 1 title "Geophone 1" ,\
  18.      "1" using 2:3 w l ls 2 title "Geophone 2" ,\
  19.     "2" using 2:3 w l ls 3 title "Geophone 3",\
  20.     "3" using 2:3 w l ls 4 title "Geophone 4"
  21.  
  22. #NLINES=13
  23. #plot for [i=0:NLINES] '<sort -n log' u ((column(1)==i)?column(1):NaN):2 w lines lw 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement