Hi,
TGraph2D is *not* binned. TH2 are. It is true that 10^7 might be big for
the triangulation algorithm.
May be you should go back to TH2, use small bins and draw with option
COL .
Cheers, o.Couet
From: X. Lu, Peking Univ. [mailto:hsienkuo.lu_at_gmail.com]
Sent: Monday, June 11, 2007 3:52 PM
To: Olivier Couet
Cc: roottalk
Subject: Re: [ROOT] how to draw (x,y.z) point without binning x and y ?
Dear Olivier,
Thanks ! I have just tried, but
1. my data sample is of a size of about 10^7, so TGraph2D is drawing
very slowly.
2. the expected effect should be like the one in the attachment, but it
seems that TGraph2D is still binning in x and y.
Best Regards,
Xianguo
On 6/11/07, Olivier Couet <Olivier.Couet_at_cern.ch> wrote:
Hi,
I guess you should try to use TGraph2D. http://root.cern.ch/root/html/TGraph2D.html Cheers, O.Couetowner-roottalk_at_pcroot.cern.ch <mailto:owner-roottalk_at_pcroot.cern.ch> ] On Behalf Of X. Lu, Peking Univ.
________________________________
From: owner-roottalk_at_pcroot.cern.ch [mailto:
Sent: Monday, June 11, 2007 3:06 PM To: roottalk Subject: [ROOT] how to draw (x,y.z) point without binning x andy ?
Dear rooters,
I want to draw a graph for a group of 3-D data (x,y,z) in which the x and y values are not binned, i.e. the point in x-y plane is exactly a point. And moreover, the z are binned with 5 bins and in each bin the point is displayed by a specific color. How can I do that ? I can only think of TH2F and use SetBinContent. But the effect is not so satisfactory. Thanks in advance ! Best Regards, Xianguo -- Take flight into the sky, beyond the moon, beyond my mind. Xianguo LU Physics Department, Peking University Beijing, China Tel: 0086-10-62753888(o)
-- Take flight into the sky, beyond the moon, beyond my mind. Xianguo LU Physics Department, Peking University Beijing, China Tel: 0086-10-62753888(o)Received on Mon Jun 11 2007 - 16:02:08 CEST
This archive was generated by hypermail 2.2.0 : Mon Jun 11 2007 - 17:50:01 CEST