autoscaling

From: Wolfgang Korsch (wkorsch@server1.pa.uky.edu)
Date: Thu Apr 03 1997 - 16:50:52 MEST


	Hi,
	
	I have two questions:
	
	a) It happens quite often that the "ntuple->Draw("abc");" 
	   command does not use the full range of the histogram.
	   The maximum x-values displayed is not the real
	   maximum x-value.
	   I do have to predefine a 1d-hist and specify the scale
	   to get the full range.
	   Is there a way to get the ntuple->Draw command to 
	   autoscale properly?
	   
	b) I essentially seem to have the same problem for 
	   profile plots. It happens often that the 
	   command "ntuple->Draw("y:x>>hprof","","prof");"
	   does not use the full x-range (seems to be the same
	   cut-off as in a)). The additional problem here is that
	   predefining a profile hist using
	   "hprof1 = new TProfile("hprof1","y vs x",nch,xmin,xmax,ymin,ymax);"
	   doesn't help, since the "ntuple->Draw("y:x>>hprof1,"","prof");"
	   command overwrites the previous definition autoscales, so
	   I am back to the original problem.
	   How can I fix this?
	   
	   Thanks.
	   
	   Wolfgang
	                   



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET