Re: Wrong year displayed with time on a TGraph axis

From: Brett Viren <>
Date: Mon, 07 Mar 2005 11:38:58 -0500

Hi Olivier,

Olivier Couet <> writes:

> try this one:
> timeonaxis4 ()

Last week %Y showed "2030" (as %y showed "30") but today this works as does my original test macro. Our devel version of root is updated nightly so maybe some fix went in? If so, thanks.

> I didn't find the piece of documentation you are referring to (concerning
> %F). Where is that ? (I looked in TAxis::SetTimeFormat code and in the
> latest printed manual).


    This function allows also to define the time offset. It is done     via %F which should be appended at the end of the format string.

followed by an example.

-Brett. Received on Mon Mar 07 2005 - 17:39:12 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:05 MET