#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "heatmaps_2" jsdir "." # set output 'heatmaps.2.js' unset key set view map scale 1 set style data lines set xtics border in scale 0,0 mirror norotate autojustify set ytics border in scale 0,0 mirror norotate autojustify set ztics border in scale 0,0 nomirror norotate autojustify unset cbtics set rtics axis in scale 0,0 nomirror norotate autojustify set title "Heat Map generated by 'plot' from a stream of XYZ values\nNB: Rows must be separated by blank lines!" set xrange [ -0.500000 : 4.50000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -0.500000 : 4.50000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cblabel "Score" set cbrange [ 0.00000 : 5.00000 ] noreverse nowriteback set rrange [ * : * ] noreverse writeback set palette rgbformulae -7, 2, -7 set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault ## Last datafile plotted: "$map2" plot '$map2' using 2:1:3 with image