Advertisement
User8

Barcode Skript (Gnuplot)

Mar 29th, 2011
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. --- barcode_zeilen.gp ---
  2.  
  3. set term png size 500,300
  4. set out "out.png"
  5.  
  6. set title "1202 Fragmente, 132 Quellen auf 369 Seiten\n10298 Plagiatzeilen = 63.0%"
  7.  
  8. unset key
  9. set xtics 0,50 out nomirror
  10. set mxtics 25
  11.  
  12. unset ytics
  13. set border 5
  14. set lmargin 0
  15.  
  16. set xlabel "\nStand: 27.03.2011 11:22 Uhr"
  17. # set xlabel "Strichlänge: Prozent Plagiatzeilen pro Seite (0..100%)\nStand: 27.03.2011 11:22 Uhr"
  18.  
  19. # plot [1:475][0:100] "<(awk '$5 == -9' prozente.list)" using 1:(-2 * $4) with impulses lc rgb "#5CB5D5",\
  20. plot [1:475][0:1] "<(awk '$5 == -9' prozente.list)" using 1:(-2 * $4) with impulses lc rgb "#5CB5D5",\
  21. "<(awk '$5 == 1' prozente.list)" using 1:4 with impulses lc rgb "black",\
  22. "<(awk '$5 > 1' prozente.list)" using 1:4 with impulses lc rgb "red"
  23. # "<(awk '$5 > 1' prozente.list)" using 1:4 with impulses lc rgb "black"
  24.  
  25. --- END barcode_zeilen.gp ---
  26.  
  27. $ gnuplot barcode_zeilen.gp
  28. $ convert -crop 475x300+0+0 -depth 8 out.png barcode_zeilen.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement