Re: [ROOT] Getting Hist from TGraph

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 14 2002 - 18:31:13 MET


Hi Thomas,

TGraph::GetHistogram could be modified to create the histogram
in the same way that TGraph::PaintGraph is doing.
On the list of things to do.

Rene Brun


On Thu, 14 Nov 2002, Thomas Bretz wrote:

> Hi all,
> 
> is it possible to create the corresponding histogram of a TGraph without 
> really drawing it in a canvas?
> 
> I want to access the Histogram before it becomes visible. But to access 
> it I have to call Draw first, which makes it visible.
> 
> Would be nice if there would be some option like Draw("nodraw") which 
> creates the histogram only.
> 
> Best regards,
> Thomas.
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:17 MET