# set terminal pngcairo background "#ffffff" font "arial,10" fontscale 1.0 size 500, 300 # set output 'circles.2.png' set style fill solid 1.00 border lt -1 set angles degrees unset key set object 20 rect from graph 0, 0, 0 to graph 1, 1, 0 set object 20 behind lw 1.0 fc rgb "cyan" fillstyle solid 0.20 border lt -1 set size ratio -1 1,1 set noxtics set noytics set title "Sources of energy production, plotted for each continent" set yrange [ -70.0000 : * ] noreverse nowriteback set palette positive nops_allcF maxcolors 0 gamma 1.5 color model HSV set palette functions gray*0.75, 0.5, 0.99 unset colorbox r = 0.01 types = 6 keyx = -137.0 keyy = -15.0 keyr = 25.0 i = 5 plot 'world.dat' with filledcurves lc rgb "light-green" notit, 'energy_circles.dat' using 2:1:(sqrt($9)*r):6:($6+$7):5 with circles lc pal fs solid 1.0 border rgb "gray", for [i=0:types-1] '' using (keyx):(keyy):(keyr-5):(-(i+1)*360./types):(-(i)*360./types):5 every ::i::i with circles lc pal fs solid 1.0 border rgb "gray", for [i=0:types-1] '' using (keyx+keyr*cos(-(i+0.5)*360./types)):(keyy+keyr*sin(-(i+0.5)*360./types)):4 every ::i::i with labels