Re: // *MENU* and TAxis::SetRange()

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Dec 04 1998 - 11:33:39 MET


Rutger van der Eijk wrote:
> 
> Hi,
> 
> I would like to be able to interactively change the 'range' of a
> histogram (THX). I thought this was already implemented so I tryed all
> kinds of combinations of clicking in the histo/pad/canvas. I did not
> succeed. Looking deeper in the code I understood that a member should have
> // *MENU* to be inserted in the context menu.
> 
> Can this comment be added to TAxis::SetRange() ? Or do I miss another
> method to interactively set an axis range?
> 
> Thanks,
> 
> Rutger van der EIjk

Hi Rutger,
I will add SetRange to TAxis popup.
Note that in the version 2.20, I have added an automatic zoom
facility. You can click with the left button on the position
where you want to start zooming and release the button where
you want to end zooming.
This works for 1-d, 2-d and even 3-d histograms.
This facility does not support log scales in the dev version, but
this will work in the released version.

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET