#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "fillstyle_7" jsdir "." # set output 'fillstyle.7.js' set boxwidth 0.5 absolute set style fill pattern 0 border set samples 11, 11 unset xtics unset ytics set title "A demonstration of boxes in mono with style fill pattern" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ 0.00000 : 120.000 ] noreverse nowriteback 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 plot [-2.5:4.5] 100/(1.0+x*x) title 'pattern 0' with boxes lt -1, 80/(1.0+x*x) title 'pattern 1' with boxes lt -1, 40/(1.0+x*x) title 'pattern 2' with boxes lt -1, 20/(1.0+x*x) title 'pattern 3' with boxes lt -1