# set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "iris_1" jsdir "." # set output 'iris.1.js' set border 3 front lt black linewidth 1.000 dashtype solid set key title "Iris Species" font ":Bold" center set key outside right top vertical Left reverse enhanced autotitle nobox set key invert samplen 4 spacing 1 width 0 height 0 set key maxcolumns 0 maxrows 0 offset screen -0.3, -0.2 set offsets 0.5, 0.5, 0.5, 0.5 set datafile separator "," set datafile columnheaders set size ratio 1 1,1 set style data lines set xtics border in scale 1,0.5 nomirror norotate autojustify set xtics rangelimit autofreq set ytics border in scale 1,0.5 nomirror norotate autojustify set ytics rangelimit autofreq set cbtics border in scale 1,0.5 nomirror norotate autojustify set title "{/:Bold RA Fisher's iris data set}" set title offset character 0, -2, 0 font "" textcolor lt -1 norotate set xlabel "Sepal Width" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set ylabel "Petal Length" set yrange [ * : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault species(name) = strstrt(name,"setosa") ? 1 : strstrt(name,"versicolor") ? 2 : strstrt(name,"virginica") ? 3 : 0 ## Last datafile plotted: "iris.dat" plot 'iris.dat' using 2:3:(species(strcol(5))) with points lc variable notitle, keyentry with point pt 7 lc species("setosa") title "setosa", keyentry with point pt 7 lc species("versicolor") title "versicolor", keyentry with point pt 7 lc species("virginica") title "virginica"