This demo shows the tangent lines at a point (P,f(P)), where P is a point in the domain.

There are two tangent lines to the surface through (P,f(P)) representing partial derivatives with respect to r and θ, and are depicted in green and red respectively.