# set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "stringvar_3" butt dashlength 1.0 # set output 'stringvar.3.svg' unset border set label 1 "Exercise word and words functions" at graph 0.1, 0.95, 0 left norotate back nopoint set label 2 "" at graph 0.1, 0.9, 0 left norotate back nopoint set label 3 "foo = word and words can handle 'quoted string'" at graph 0.1, 0.85, 0 left norotate back nopoint set label 4 "words(foo) = 6" at graph 0.1, 0.8, 0 left norotate back nopoint set label 5 "word(foo, 6) = quoted string" at graph 0.1, 0.75, 0 left norotate back nopoint set label 6 "" at graph 0.1, 0.7, 0 left norotate back nopoint set label 7 "foo = \"double quotes\" or 'single quotes'" at graph 0.1, 0.65, 0 left norotate back nopoint set label 8 "words(foo) = 3" at graph 0.1, 0.6, 0 left norotate back nopoint set label 9 "" at graph 0.1, 0.55, 0 left norotate back nopoint set label 10 "foo = Apostrophes inside words don't matter" at graph 0.1, 0.5, 0 left norotate back nopoint set label 11 "word(foo, 4) = don't" at graph 0.1, 0.45, 0 left norotate back nopoint set style data lines unset xtics unset ytics set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ 0.00000 : 1.00000 ] 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 NO_ANIMATION = 1 iswindows = 0 isos2 = 0 beg = 2 end = 4 foo = "Apostrophes inside words don't matter" haystack = "03:23 18 September 2023" needle = ":" S = 3 plot 0 lc bgnd notitle