Re: [ROOT] Colour control for 3D graphs

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Mar 09 2002 - 11:54:31 MET


Hi Matt,

There are at least 3 ways (none of them in ROOT) to show 4-D data:
 - as a 3-d scatter plot where the marker color is used for the 4-th
   dimension. This options can be used now with multiple passes
   with TTree::Draw. It could be implemented as a standard option
   in TTree::Draw.
 - as a stack of slices of projections of a TH3 drawn with the "cont" 
   options. May give good results for a small number of slices (bins in Z)
 - as a true 3-d contour plot for f(x,y,z) = k and a slider is used
   to dynamically change the value of k (most interesting option).

The first and third options will be implemented as soon as we get
new manpower in the project (expected soon now).

Rene Brun


On Fri, 8 Mar 2002, Matt Palmer wrote:

> Hi,
> It'd be quite useful for me if it were possible to plot 4D data using 3D 
> plots + colour.  It seems to me that this shouldn't be too hard because ROOT 
> can already plot 3D graphs with colour defined by the colour a contour plot 
> would show - it'd just require a way of controlling which colour the bins 
> get, so, um, any plans to do this?
> 
> Thanks
> Matt
> 



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