# set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'iris.1.png' set border 3 front lt black linewidth 1.000 dashtype solid set key title "Iris Species" enhanced 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 ylabel "Petal Length" species(name) = strstrt(name,"setosa") ? 1 : strstrt(name,"versicolor") ? 2 : strstrt(name,"virginica") ? 3 : 0 NO_ANIMATION = 1 ## 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"