Vector Graphics

This can be really brief, because most of what needs to be said is already said at my site simpleSVG.

Your Task

{*} You will need to grab the data file from RasterRadar, and then vectorradar.py. You will also need simpleSVG.py, which you should keep in the same directory as vectorradar.py.

vectorradar.py KIWA.vol140.dat

will output two .ppm files and one .svg file. After converting the .svg to a .png, for example by doing:

inkscape -e sectors.png sectors.svg

you will get the following .png:
sectors.png

Your task is to develop the code to plot the first 25 km of radar data, together with a color legend. Here is an example to shoot for:
first25.png

Post you rendition of the above figure and your source code on your secret page.