In this demonstration, the "Function Graph" window shows the
graph of f color coded by the sign of the partials derivatives.
Purple represents fr > 0 and fθ > 0.
Pink represents fr > 0 but fθ
< 0.
Blue represents fθ > 0 but fr <
0.
White repsesents fr < 0 and fθ
< 0.
In the second window, "Fold Sets", the fold set in the r-direction is
colored in pink, and the fold set in
the θ-direction is
colored in blue. The intersections of these fold sets are the
critical points.