Is there a way to output polar coordinates from a texture coordinate?

Trying to make a gradient that looks like this without an image or a plugin.

http://i.imgur.com/3Y4smcg.jpg

Take a look here.