# set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "enhanced_utf8_1" jsdir "." # set output 'enhanced_utf8.1.js' set bar 1.000000 front set style circle radius graph 0.02, first 0.00000, 0.00000 set style ellipse size graph 0.05, 0.03, first 0.00000 angle 0 units xy set format x "%.1f" set format y "%.1f" set label 1 "Superscripts and subscripts:" at -0.650000, 0.950000, 0.00000 left norotate back textcolor rgb "#56b4e9" nopoint set label 3 "A_{j,k} 10^{-2} x@^2_k x@_0^{-3/2}y" at -0.550000, 0.850000, 0.00000 left norotate back nopoint set label 5 "Space-holders:" at -0.550000, 0.700000, 0.00000 left norotate back textcolor rgb "#56b4e9" nopoint set label 6 "<&{{/=20 B}ig}> <&{x@_0^{-3/2}y}> holds space for" at -0.450000, 0.600000, 0.00000 left norotate back nopoint set label 7 "<{{/=20 B}ig}> <{x@_0^{-3/2}y}>" at -0.450000, 0.500000, 0.00000 left norotate back nopoint set label 8 "Overprint\n(v should be centred over d)" at -0.900000, -0.200000, 0.00000 left norotate back textcolor rgb "#56b4e9" nopoint set label 9 " ~{abcdefg}{0.8v}" at -0.850000, -0.400000, 0.00000 left norotate back nopoint set label 10 "UTF-8 encoding does not require Symbol font:" at -0.400000, 0.350000, 0.00000 left norotate back textcolor rgb "#56b4e9" nopoint set label 11 "{/*1.5 ∫@_{/=9.6 0}^{/=12 ∞}} {e^{-{μ}^2/2} d}{μ=(π/2)^{1/2}}" at -0.300000, 0.200000, 0.00000 left norotate back nopoint set label 21 "Left ^{centered} ƒ(αβγδεζ)" at 0.500000, -0.100000, 0.00000 left norotate back nopoint set label 22 "Right ^{centered} ƒ(αβγδεζ)" at 0.500000, -0.200000, 0.00000 right norotate back nopoint set label 23 "Center^{centered} ƒ(αβγδεζ)" at 0.500000, -0.300000, 0.00000 center norotate back nopoint set label 30 "{/:Bold Bold} and {/:Italic Italic} markup" at -0.900000, 0.00000, 0.00000 left norotate back nopoint set arrow 1 from 0.500000, -0.500000, 0.00000 to 0.500000, 0.00000, 0.00000 nohead back nofilled lt black linewidth 1.000 dashtype solid set style textbox transparent margins 1.0, 1.0 border unset logscale set style data lines unset paxis 1 tics unset paxis 2 tics unset paxis 3 tics unset paxis 4 tics unset paxis 5 tics unset paxis 6 tics unset paxis 7 tics set title "Demo of enhanced text mode using a single UTF-8 encoded font\nThere is another demo that shows how to use a separate Symbol font" set xrange [ -1.00000 : 1.00000 ] noreverse nowriteback set yrange [ -0.500000 : 1.10000 ] noreverse nowriteback set paxis 1 range [ * : * ] noreverse nowriteback set paxis 2 range [ * : * ] noreverse nowriteback set paxis 3 range [ * : * ] noreverse nowriteback set paxis 4 range [ * : * ] noreverse nowriteback set paxis 5 range [ * : * ] noreverse nowriteback set paxis 6 range [ * : * ] noreverse nowriteback set paxis 7 range [ * : * ] noreverse nowriteback set colorbox vertical origin screen 0.9, 0.2, 0 size screen 0.05, 0.6, 0 front noinvert bdefault save_encoding = "utf8" plot sin(x)**2 lt 2 lw 2 title "sin^2(x)"