#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "iterate_1" jsdir "." # set output 'iterate.1.js' set label 1 "plot for [n=2:10] sin(x*n)/n" at graph 0.95, 0.92, 0 right norotate back nopoint set style data lines set title "Iteration within plot command" set xrange [ 0.00000 : 3.00000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback 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 plot for [n=2:10] sin(x*n)/n notitle lw (13-n)/2