#!/usr/local/bin/gnuplot -persist # set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "imageNaN_2" butt dashlength 1.0 # set output 'imageNaN.2.svg' 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 (2D)" 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 NO_ANIMATION = 1 ## Last datafile plotted: "$matrixdata" plot $matrixdata matrix with image pixels