Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 6th, 2013  |  syntax: None  |  size: 1.16 KB  |  views: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. set terminal pngcairo enhanced font "arial,10" fontscale 2.0 size 3000, 1800
  2. set output 'heatmaps.1.png'
  3. unset key
  4. set view map
  5. set size ratio .6
  6. set xtics border in scale 0,0 mirror norotate  offset character 0, 0, 0 autojustify
  7. set ytics border in scale 0,0 mirror norotate  offset character 0, 0, 0 autojustify
  8. set yrange [ 1.5 : 19.5 ] noreverse nowriteback
  9. set xrange [ 0 : 1000 ] noreverse nowriteback
  10. set cbrange [ -0.50000 : 7.50000 ]
  11. set cbtics ("INIT" 0, "NOCOORD" 1, "ELECTION" 2, "WAIT" 3, "NORESPONSE" 4, "CHECK" 5, "COORD" 6, "REGULAR" 7)
  12.  
  13. set ytics ("syslab-04" 2, "syslab-21" 3, "syslab-22" 4, "syslab-ui0" 5,\
  14.            "syslab-ui5" 6, "syslab-ui4" 7, "syslab-24" 8, "syslab-25" 9,\
  15.            "syslab-26" 10, "syslab-v13" 11, "syslab-02" 12, "syslab-03" 13,\
  16.            "syslab-v02" 14, "syslab-07" 15, "syslab-12" 16, "syslab-08" 17,\
  17.            "syslab-10" 18, "syslab-05" 19)
  18.  
  19. set palette maxcolors 8
  20. set palette defined ( 0 "blue", 1 "yellow", 2 "red", 3 "green", 4 "brown", 5 "black", 6 "pink", 7 "cyan" )
  21. # remove the previous line and everything works ok - but I don't want that palette.
  22. plot 'a.csv' matrix using 2:1:3 every ::2 with image