Char*-type values at axis

Hello

I have to plot some long time magnetic field fluctuations. At the x-axis I have time in seconds but I want to have time in format h:m:s (e.g. 12:45:21) or something like this. Is it possible in root? How to do it?

see $ROOTSYS/tutorials/graphs/timeonaxis.C

Rene