TeX source:
g(r,\theta) = f(r\cos\theta,r\sin\theta)