Re: [ROOT] 4 Dimensional Graphing. Is it possible?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Mar 14 2001 - 17:52:05 MET


Hi Brendan,

I have difficulties understanding your request. In particular what do you mean
by < index1,index2 are indices for "test" and "golden">?
Do you want to visualize:
  - golden-test versus index1 versus index2
  - golden-test versus index1 versus index2 versus test

In the first case, you can fill a TH2F with index1 along x, index2 along y
and golden-test as the weight, then visualize the result with options
"lego", "surf" (try 1,2,3,4)

In the second case, you can fill multiple TPolyMarker3D as shown
in $ROOTSYS/tutorials/tornado.C

We do not have yet the front-end to visualize 3-d surfaces. However, most
of the code is already in class TLego.

Rene Brun



Brendan J. Rankin wrote:
> 
> Hello,
> 
> I am a brand new user of ROOT that would like to use it for graphing 4
> dimensions.  First off, let me explain what I would like to do and then someone
> can tell me:
> 
> 1.  Is it possible?
> 2.  If yes to (1), then how would I go about doing it?
> 
> I have data in an ASCII format consisting of 4 columns.  The first 2 columns,
> call them index1 and index2 (look at these two as making up the x and y axes)
> are indices for both the 3rd. and 4th. columns.  The 3rd. column represents
> "test" data and the 4th. column represents what I would call "golden" data.
> What I would like to be able to do is to "color code" the 3D surface represented
> by column 3 to correspond with the delta it has with the "golden" data in column
> 4.  The greater the delta, the more the color changes.
> 
> Thank you very much in advance for your help.  I really like the concept that
> ROOT is using and would love to be able to use it for the case I've mentioned
> above.
> 
> With Best Regards,
> 
> - Brendan
> 
> --
> ----------------------------------------------------------
> Brendan Rankin
> Senior Applications Consultant  (408)396-7176 (Cell)
> Silicon Metrics Corporation     (408)965-5331 (Work)
> Email:             brendan.rankin@siliconmetrics.com
> ----------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:39 MET