Hi Rooters. I have two questions... a specific one and a general one. Specific: I am trying to write an extension of TGraph, i.e., a derived class (DvatGraph) which (for now) simply overrides the ExecuteEvent function. I have done this, but only Button 1 events seem to be passed to this ExecuteEvent function. I have tried to find where in the ROOT code it is specified that TGraph shall only handle Button 1 events, but I seem to be lost in a maze of twisty passages all looking alike. So... the specific question is, how do I route other button events to TGraph (or at least to my DvatGraph)? General: The reason I want to do this is that I have a time series of 10^7 data points that I want to plot. Actually, I want to initially plot an overview of the data series (sampled or averaged in some way), and then have the user specify a range to zoom in on. I tried just doing this with a TH1 or a TGraph, but they seem to choke when given 10^7 data points (specifically, they take forever to respond... at least I assume it's forever... I have waited for over an hour and nothing happened). So, what I am planning to do is have DvatGraph plot only some small number of points (less than 1000) taken from the time series, with the endpoints and the sampling rate initially set to draw an overview of the entire series. Zooming in, then, would have DvatGraph use different endpoints and sampling rate to select the <1000 points to actually draw. So, the basic difference between my proposed DvatGraph and TGraph is the sampling rate concept... TGraph already handles (via some magic with TAxis) the endpoint stuff. So my general question is: Is there already some way to do this easily in ROOT that I have missed or has anyone already created a ROOT add-on that does this? Thanks, Tony Colley ITT Industries A/CD Fort Wayne, IN USA Using ROOT 3.03/00, last CVS update on 18 Feb 2002, on RedHat Linux 7.2 ************************************ If this email is not intended for you, or you are not responsible for the delivery of this message to the addressee, please note that this message may contain ITT Privileged/Proprietary Information. In such a case, you may not copy or deliver this message to anyone. You should destroy this message and kindly notify the sender by reply email. Information contained in this message that does not relate to the business of ITT is neither endorsed by nor attributable to ITT. ************************************
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET