#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "imageNaN_5" jsdir "." # set output 'imageNaN.5.js' set border 3 front lt black linewidth 1.000 dashtype solid unset key set view map scale 1 set datafile missing '?' set style data lines unset xtics set ytics border in scale 0,0 mirror norotate autojustify set ytics norangelimit set ytics ("0" 0.00000, "?" 1.00000, "Junk" 2.00000, "NaN" 3.00000, "Inf" 4.00000, "-Inf" 5.00000) set ztics border in scale 0,0 nomirror norotate autojustify set cbtics border in scale 0,0 mirror norotate autojustify set cbtics norangelimit 0.00000,1,5.00000 set rtics axis in scale 0,0 nomirror norotate autojustify set title "Same thing in 'pixels' mode (3D)" set xlabel "First column contains various odd values" set xrange [ -0.500000 : 4.50000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -0.500000 : 5.50000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cblabel "Score" set cbrange [ -2.00000 : 7.00000 ] noreverse nowriteback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault ## Last datafile plotted: "$matrixdata" splot $matrixdata matrix with image pixels