#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "custom_key_2" jsdir "." # set output 'custom_key.2.js' set style fill solid 1.00 border rgb "black" set key title "{/:Bold Outcomes}" left set key outside right center vertical Left reverse enhanced autotitle nobox set key noinvert samplen 1 spacing 1 width 0 height 0 set offsets 0, 0, graph 0, 0 unset xtics set ytics border in scale 0,0 mirror norotate autojustify set ytics norangelimit 0.00000,1 set ztics border in scale 0,0 nomirror norotate autojustify set x2tics border in scale 0,0 nomirror norotate autojustify set x2tics norangelimit set x2tics ("A" 0.00000, "B" 1.00000, "C" 2.00000, "D" 3.00000, "E" 4.00000) set cbtics border in scale 0,0 mirror norotate autojustify set rtics axis in scale 0,0 nomirror norotate autojustify set title "{/:Bold Construct key from custom entries}" set xrange [ -0.500000 : 4.50000 ] noreverse nowriteback set x2range [ -0.500000 : 4.50000 ] noreverse nowriteback set yrange [ 3.50000 : -0.500000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback 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 unset colorbox ## Last datafile plotted: "$HEATMAP" plot $HEATMAP matrix with image pixels notitle, keyentry with boxes fc palette cb 0 title "no effect", keyentry with boxes fc palette cb 1 title "threshold", keyentry with boxes fc palette cb 3 title "typical range", keyentry with labels title "as reported in [12]", keyentry with boxes fc palette cb 5 title "strong effect"