Advertisement
Guest User

Untitled

a guest
Jun 11th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set terminal png
  2. set output "out.png"
  3. set datafile separator ";"
  4. set title "Jakość, Kwasowość, Alkohol"
  5.  
  6. #11 - zawartość alkoholu, 12 - jakość, 9 - kwasowość
  7.  
  8.  
  9. set xlabel "pH"
  10. #set xlabel "%"
  11. set ylabel "quality"
  12.  
  13. set grid
  14.  
  15. #policzmy korelację i inne rzeczy
  16. #stats "winequality-white.csv" using 9:12 name "A"
  17. #stats "winequality-white.csv" using 11:12 name "A"
  18. #stats "winequality-red.csv" using 9:12 name "A"
  19. stats "winequality-red.csv" using 11:12 name "A"
  20.  
  21.  
  22. #plotujemy wszystkie
  23.  
  24. plot "winequality-red.csv" using 11:12 with points pointtype 1 pointsize 1 title ""
  25. #plot "winequality-red.csv" using 9:12 with points pointtype 1 pointsize 1 title ""
  26. #plot "winequality-white.csv" using 11:12 with points pointtype 1 pointsize 1 title ""
  27. #plot "winequality-white.csv" using 9:12 with points pointtype 1 pointsize 1 title ""
  28.  
  29. unset output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement