$ 0 0 It should be possible to do this with one or two extra lines of code - where you transform from the X/Y coordinates to polar coordinates, which are mapped into the data array (I assume your data is in polar form)