Re: 2d histogram

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Sun, 19 Sep 2010 10:18:38 +0200


Hi,

I probably don't understand that question. x,y and z are three variables, you thus cannot make a 2d histogram of it without some sort of projection. You could of course use a 3d histogram.

A valid answer to your question would be "you fill x for the histogram's first dimension and y+z for the second" - but I'm sure that's not what you are looking for :-) Could you clarify what you try to do?

Cheers, Axel.

On 9/19/10 12:31 AM, jhkim_at_physics.utexas.edu wrote:
> Hi,
>
> How can I make 2d histogram from x,y,z ntuples instead of using TProfile2D?
> For example, TH2F has only 2 variables such as x and y, but I have three
> x, y, and z.
>
> Best,
>
> JK
>
>
Received on Sun Sep 19 2010 - 10:18:46 CEST

This archive was generated by hypermail 2.2.0 : Mon Sep 20 2010 - 17:50:02 CEST