Re: [ROOT] a problem with TGraph

From: HP Wei (hp@rentec.com)
Date: Mon Oct 16 2000 - 17:05:48 MEST


>I draw a graph several time changing the value of x and y (to do this
>each time I use the command gr = new TGraph(ADC_SAMPLES,x,y);), also the
>scale of y axis changes each time.
  Hi,
     I put the following line in the beginning of my drawing routine.
     The routine is 
     used again and again in a root/cint session
     for different set of (x, y).

     if (gr != NULL) delete gr;
     
  HP
  



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:35 MET