How to add contour label

Hi,
I am looking for a solution how to print contour values on the contours like a geological topological map does.

Cheers,
Zhiyi.

see:
$ROOTSYS/tutorials/hist/ContourList.C