[ROOT] a problem with TGraph

From: Silvia Borghi (Silvia.Borghi@cern.ch)
Date: Mon Oct 16 2000 - 14:56:40 MEST


Hi Rooters!
 
I have a little problem using root.
 
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.
 
When root draws the graph, it cancels the old one but not the scales; so
the scales overlap.
 
I try to put the comand pad1->Clear(), but in this way the view of graph
flash.
 
How could I solve this problem? 

Thanks
Silvia



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