#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "steps_3" jsdir "." # set output 'steps.3.js' set style fill solid 1.00 border set style data lines set title "Histogram built from unsorted data by 'smooth frequency'" set xlabel "bins" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set ylabel "counts per bin" 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 ## Last datafile plotted: "hemisphr.dat" plot 'hemisphr.dat' u (floor($1*20)):(1) smooth freq with fillsteps title "with fillsteps"