#!/usr/local/bin/gnuplot -persist # set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "stringvar_6" butt dashlength 1.0 # set output 'stringvar.6.svg' set key title "file(i) = sprintf(\"%1d.dat\",i); N=2; M=3" center set key fixed left top vertical Left reverse enhanced autotitle nobox set key noinvert samplen 4 spacing 1 width 25 height 0 set title "String-valued functions to generate datafile names" 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 set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault file(i) = sprintf("%1d.dat",i) NO_ANIMATION = 1 iswindows = 0 isos2 = 0 beg = 2 end = 4 foo = "Apostrophes inside words don't matter" haystack = "Sat 1 Oct 21:59:44 PDT 2022" needle = ":" S = 14 N = 2 M = 3 ## Last datafile plotted: "3.dat" plot 5*sin(x)/x, file(N), file(M)