Here is one possible solution with gnuplot. That uses the circles
plotting style to draw the overlapping wedges at the origin with a specified radius. That requires you to have your data sorted by descending maximum radius, and that you have no gaps.
Here is a possible script:
set xrange [0:350]
set yrange [0:350]
set size ratio -1
set style fill solid noborder
set palette defined (106 'blue', 107 'yellow', 114 'magenta')
set cbrange [106:114]
unset colorbox
plot 'test.txt' using (0):(0):2:($3*180/pi):($4*180/pi):5 with circles linecolor palette notitle
with the result (with 4.6.4):
Some more remarks:
The radius of the circles is given in units of the x-axis, but the y-axis isn't adapted accordingly. That's why you must set both
xrange
,yrange
and even the ratio of the two axes withset size ratio -1
.Using the palette for coloring is one option, other options like using
linecolor variable
orlinecolor rgb variable
, are explained e.g. in gnuplot candlestick red and green fill.On Unix systems, the sorting could also be done on-the-fly with e.g.
plot '< sort -r test.txt' ...