# set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "hypertext_1" butt dashlength 1.0 # set output 'hypertext.1.svg' unset border unset key set datafile separator " " set size ratio 1 1,1 set style data lines unset xtics unset ytics set title "Hypertext is shown when the mouse is over a point" 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 Scale(size) = 0.08*sqrt(sqrt(column(size))) City(String,Size) = sprintf("%s\npop: %d", stringcolumn(String), column(Size)) NO_ANIMATION = 1 save_encoding = "utf8" ## Last datafile plotted: "cities.dat" plot 'cities.dat' using 5:4:(City(1,3)):(Scale(3)) with labels hypertext point pt 7 ps var lc rgb "#ffee99", 'cities.dat' using 5:4:(Scale(3)) with points pt 6 ps var lc rgb "black" lw 0.1