# set terminal svg size 600,400 dynamic enhanced fname 'arial' fsize 10 mousing name "cities_1" butt solid # set output 'cities.1.svg' unset border unset key set datafile separator " " set size ratio 1 1,1 set style data lines set noxtics set noytics Scale(size) = 0.25*sqrt(sqrt(column(size))) CityName(String,Size) = sprintf("{/=%d %s}", Scale(Size), stringcolumn(String)) GPFUN_Scale = "Scale(size) = 0.25*sqrt(sqrt(column(size)))" GPFUN_CityName = "CityName(String,Size) = sprintf(\"{/=%d %s}\", Scale(Size), stringcolumn(String))" save_encoding = "utf8" x = 0.0 plot 'cities.dat' using 5:4:($3 < 5000 ? "-" : CityName(1,3)) with labels