#!/usr/local/bin/gnuplot -persist # 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 format x "%.1f" set format y "%.1f" set key title " " center 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 linewidth 1.000 dashtype solid set style data lines 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 x2range [ * : * ] noreverse writeback set yrange [ -0.500000 : 1.10000 ] 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 save_encoding = "utf8" plot sin(x)**2 lt 2 lw 2 title "sin^2(x)"