[ROOT] user defined axis labels or how to change them !

From: joe robe (joer00@yahoo.com)
Date: Fri Aug 10 2001 - 12:42:36 MEST


Hell Rene,

what a pitty , this looks like a lot of work ! What is
that Get and SetBinLabel methods in TAxis, was that
never implemented ?

What is the best approach to draw my individual axis
labels ? Calculating the positions and then use TText,
TLabel or so or is there any way TAxis can be modified
for that ?

Joe

--- Rene Brun <Rene.Brun@cern.ch> wrote:
> Hi Joe,
> 
> Graphs with gaps are not implemented in ROOT and we
> have no plans
> to implement this feature in the short term. This
> has several
> implications (lin/log scales, picking, superimposed
> fitted functions, etc)
> 
> The only possibility that I see is to call the basic
> primitives
> or use an index (what you already do if I
> understand).
> For the axis values, you have to draw the individual
> axis labels one by
> one.
> 
> Rene Brun
> 
> On Thu, 9 Aug 2001, joe robe wrote:
> 
> > hello rooters,
> > 
> > we are still working on the problem how to draw a
> time
> > series chart with gaps NOT DRAWN. Stocks only
> trade in
> > a specific time range. If I draw a time series of
> 2
> > days I get a gap of approx. 18 hours in my chart.
> > 
> > I dont think there is a way to draw a chart with a
> > TIME X axis where part of the time is not drawn.
> > 
> > I can draw the chart correctly by changing the X
> axis
> > to the index, but now my X axis shows numbers
> instead
> > of the time. 
> > 
> > Of course I have the corresponding time values to
> > these numbers, so is there a way to plot user
> defined
> > X values ? 
> > 
> > In TAxis there  is a virtual funciotn
> get/setBinLabel
> > which sounds like it could do what I want, but
> nowhere
> > I found a implementation of  this virtual
> funcktion !
> > 
> > Joe
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> > http://phonecard.yahoo.com/
> > 
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:56 MET