[ROOT] Drag and zoom?

From: David Faden (dfaden@iastate.edu)
Date: Thu Jun 07 2001 - 19:23:48 MEST


Hi,
   I'd like to allow users to zoom in on a graph by clicking and dragging 
the mouse not on the axes but on the graph itself. Ideally, users 
would click at the point they want to be one corner of the zoomed view, 
then drag the mouse to select the area of the zoomed view. And I would 
like to draw a box around the area to be zoomed into. How hard is this to 
do with ROOT? Is there already a class included with ROOT 3.0 that 
provides the service I describe? If anyone has example code, I would love 
to see it. (Sorry if I have once again missed the obvious.)
   Thank you.

David



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