Hello, Having tried the time option "t", I came to conclusion that either I'm clueless as to how to apply it, or this part of the class is broken. For example specifying; TGaxis *axis = new TGaxis(1996, 10, 2000, 10, 1997, 1999, 3,"t"); axis->SetTimeFormat("%Y") which I understand it to mean "range from 1996 to 2000, with three tick marks at 1997, 1998 and 1999, year with century format", I get three ticks OK, albeit all with the same "1995" label. It gets more twisted with more complex specifications, which leads me to ask what time format does the class accept, and how to specify that I'd like to have multi year range with major ticks on each full year (with a year label), and minor ticks (possibly with just a numeric month label, i.e no year) on each month? And even before I hear the right answer, could I suggest that; 1) one of the possibilities to specify range be the time format returned by time()/mktime() (a nice, convinient integer value that the class could interpret to satisfy any of the SetTimeFormat specifications for labels), and/or 2) that the interpretation of the range input to the class be dependent on the SetTimeFormat() specification. The second one seems especially a tall order, but I thought I'd have my New Year wish early. Happy New Millenium to all, /Mariusz P.S. Once I'm at it, could I suggest an addition of a "-" (dash) marker to the TMarker class, with, maybe, the posibility to specify left/right positioning vs. a line on, next to, which it would be placed?
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:44 MET