# set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 500, 350 # set output 'stringvar.6.png' set key title "file(i) = sprintf(\"%1d.dat\",i); N=2; M=3" set key inside left top vertical Left reverse enhanced autotitles nobox set key noinvert samplen 4 spacing 1 width 25 height 0 set title "String-valued functions to generate datafile names" file(i) = sprintf("%1d.dat",i) beg = 2 end = 4 foo = " 1 2 3 4 5 6" ERRNO = 0 haystack = "Sun Feb 12 19:55:42 PST 2012" needle = ":" S = 14 N = 2 M = 3 GPFUN_file = "file(i) = sprintf(\"%1d.dat\",i)" plot 5*sin(x)/x, file(N), file(M)