# set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "fillcrvs_3" jsdir "." # set output 'fillcrvs.3.js' set grid nopolar set grid xtics nomxtics ytics nomytics noztics nomztics nortics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid front lt 0 linecolor 0 linewidth 0.500, lt 0 linecolor 0 linewidth 0.500 set key outside right top vertical Right noreverse enhanced autotitle nobox set style increment default set title "Filled sinus and cosinus curves" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ * : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback plot 2+sin(x)**2 with filledcurve x1, cos(x)**2 with filledcurve x1