On Fri, 4 Dec 1998, Rene Brun wrote: > 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 > Hi Rene, This is really great that the mause-zoom possibility is added. I tryed it (but) without success on the 2.20/01 (Debian) version installed in GSI. I used a 1-d hist with a linear y-axis, and the left mause-button. I could either displace the spectrum (cross cursor) or nothing happened (arrow cursor). Did I miss something ? I have 2 suggestions 1. The 2nd mause-button (in the 3 button-mause) is without any graphical fonction. Why not affecting the zooming function to. 2. Is it possible to use it also (one click) as TPad::cd() Greetings, Faouzi
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET