Logo ROOT   6.10/09
Reference Guide
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
TParallelCoord Class Reference

Parallel Coordinates class.

The multidimensional system of Parallel coordinates is a common way of studying high-dimensional geometry and visualizing multivariate problems. It has first been proposed by A. Inselberg in 1981.

To show a set of points in an n-dimensional space, a backdrop is drawn consisting of n parallel lines. A point in n-dimensional space is represented as a polyline with vertices on the parallel axes; the position of the vertex on the i-th axis corresponds to the i-th coordinate of the point.

This tool comes with a rather large gui in the editor. It is necessary to use this editor in order to explore a data set, as explained below.

Reduce cluttering:

The main issue for parallel coordinates is the very high cluttering of the output when dealing with large data set. Two techniques have been implemented to bypass that so far:

Selections:

Selections of specific entries can be defined over the data se using parallel coordinates. With that representation, a selection is an ensemble of ranges defined on the axes. Ranges defined on the same axis are conjugated with OR (an entry must be in one or the other ranges to be selected). Ranges on different axes are are conjugated with AND (an entry must be in all the ranges to be selected). Several selections can be defined with different colors. It is possible to generate an entry list from a given selection and apply it to the tree using the editor ("Apply to tree" button).

Axes:

Options can be defined each axis separately using the right mouse click. These options can be applied to every axes using the editor.

The order in which the variables are drawn is essential to see the clusters. The axes can be dragged to change their position. A zoom is also available. The logarithm scale is also available by right clicking on the axis.

Candle chart:

TParallelCoord can also be used to display a candle chart. In that mode, every variable is drawn in the same scale. The candle chart can be combined with the parallel coordinates mode, drawing the candle sticks over the axes.

{
TCanvas *c1 = new TCanvas("c1");
TFile *f = TFile::Open("cernstaff.root");
TTree *T = (TTree*)f->Get("T");
T->Draw("Age:Grade:Step:Cost:Division:Nation","","para");
TParallelCoord* para = (TParallelCoord*)gPad->GetListOfPrimitives()->FindObject("ParaCoord");
grade->AddRange(new TParallelCoordRange(grade,11.5,14));
para->AddSelection("less30");
age->AddRange(new TParallelCoordRange(age,21,30));
}

Some references:

Definition at line 28 of file TParallelCoord.h.

Public Types

enum  {
  kVertDisplay =BIT(14), kCurveDisplay =BIT(15), kPaintEntries =BIT(16), kLiveUpdate =BIT(17),
  kGlobalScale =BIT(19), kCandleChart =BIT(20), kGlobalLogScale =BIT(21)
}
 
- Public Types inherited from TObject
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 

Public Member Functions

 TParallelCoord ()
 Default constructor. More...
 
 TParallelCoord (Long64_t nentries)
 Constructor without a reference to a tree, the datas must be added afterwards with TParallelCoord::AddVariable(Double_t*,const char*). More...
 
 TParallelCoord (TTree *tree, Long64_t nentries)
 Normal constructor, the datas must be added afterwards with TParallelCoord::AddVariable(Double_t*,const char*). More...
 
 ~TParallelCoord ()
 Destructor. More...
 
void AddSelection (const char *title)
 Add a selection. More...
 
void AddVariable (Double_t *val, const char *title="")
 Add a variable. More...
 
void AddVariable (const char *varexp)
 Add a variable from an expression. More...
 
void ApplySelectionToTree ()
 Apply the current selection to the tree. More...
 
void CleanUpSelections (TParallelCoordRange *range)
 Clean up the selections from the ranges which could have been deleted when a variable has been deleted. More...
 
void DeleteSelection (TParallelCoordSelect *sel)
 Delete a selection. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Compute the distance from the TParallelCoord. More...
 
virtual void Draw (Option_t *options="")
 Draw the parallel coordinates graph. More...
 
virtual void ExecuteEvent (Int_t entry, Int_t px, Int_t py)
 Execute the corresponding entry. More...
 
Bool_t GetCandleChart ()
 
Long64_t GetCurrentFirst ()
 
Long64_t GetCurrentN ()
 
TParallelCoordSelectGetCurrentSelection ()
 Return the selection currently being edited. More...
 
Bool_t GetCurveDisplay () const
 
Int_t GetDotsSpacing () const
 
TEntryListGetEntryList (Bool_t sel=kTRUE)
 Get the whole entry list or one for a selection. More...
 
Bool_t GetGlobalLogScale ()
 
Double_t GetGlobalMax ()
 return the global maximum. More...
 
Double_t GetGlobalMin ()
 return the global minimum. More...
 
Bool_t GetGlobalScale ()
 
Color_t GetLineColor ()
 
Width_t GetLineWidth ()
 
Int_t GetNbins ()
 get the binning of the histograms. More...
 
Long64_t GetNentries ()
 
UInt_t GetNvar ()
 
TParallelCoordSelectGetSelection (const char *title)
 Get a selection from its title. More...
 
TListGetSelectList ()
 
TTreeGetTree ()
 return the tree if fTree is defined. More...
 
Double_tGetVariable (const char *var)
 Get the variables values from its title. More...
 
Double_tGetVariable (Int_t i)
 Get the variables values from its index. More...
 
TListGetVarList ()
 
Bool_t GetVertDisplay () const
 
Int_t GetWeightCut () const
 
virtual void Paint (Option_t *options="")
 Paint the parallel coordinates graph. More...
 
void RemoveVariable (TParallelCoordVar *var)
 Delete a variable from the graph. More...
 
TParallelCoordVarRemoveVariable (const char *var)
 Delete the variable "vartitle" from the graph. More...
 
void ResetTree ()
 Reset the tree entry list to the initial one.. More...
 
void SaveEntryLists (const char *filename="", Bool_t overwrite=kFALSE)
 Save the entry lists in a root file "filename.root". More...
 
void SavePrimitive (std::ostream &out, Option_t *options)
 Save the TParallelCoord in a macro. More...
 
void SaveTree (const char *filename="", Bool_t overwrite=kFALSE)
 Save the tree in a file if fTreeFileName == "". More...
 
void SetAxisHistogramBinning (Int_t n=100)
 Set the same histogram axis binning for all axis. More...
 
void SetAxisHistogramHeight (Double_t h=0.5)
 Set the same histogram axis height for all axis. More...
 
void SetAxisHistogramLineWidth (Int_t lw=2)
 Set the same histogram axis line width for all axis. More...
 
void SetCandleChart (Bool_t can)
 Set a candle chart display. More...
 
void SetCurrentEntries (TEntryList *entries)
 
void SetCurrentFirst (Long64_t)
 Set the first entry to be displayed. More...
 
void SetCurrentN (Long64_t)
 Set the number of entry to be displayed. More...
 
TParallelCoordSelectSetCurrentSelection (const char *title)
 Set the selection being edited. More...
 
void SetCurrentSelection (TParallelCoordSelect *sel)
 Set the selection being edited. More...
 
virtual void SetCurveDisplay (Bool_t curve=1)
 
void SetDotsSpacing (Int_t s=0)
 Set dots spacing. More...
 
void SetGlobalLogScale (Bool_t)
 All axes in log scale. More...
 
void SetGlobalMax (Double_t max)
 Force all variables to adopt the same max. More...
 
void SetGlobalMin (Double_t min)
 Force all variables to adopt the same min. More...
 
void SetGlobalScale (Bool_t gl)
 Constraint all axes to the same scale. More...
 
void SetInitEntries (TEntryList *entries)
 
void SetLineColor (Color_t col)
 
void SetLineWidth (Width_t wid)
 
void SetLiveRangesUpdate (Bool_t)
 If true, the pad is updated while the motion of a dragged range. More...
 
void SetNentries (Long64_t n)
 
void SetTree (TTree *tree)
 
void SetVertDisplay (Bool_t vert=kTRUE)
 Set the vertical or horizontal display. More...
 
void SetWeightCut (Int_t w=0)
 
void UnzoomAll ()
 Unzoom all variables. More...
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TString &name, const TString &title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor. More...
 
virtual ~TNamed ()
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings (""). More...
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects. More...
 
virtual void Copy (TObject &named) const
 Copy this to obj. More...
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t IsSortable () const
 
virtual void ls (Option_t *option="") const
 List TNamed name and title. More...
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual void SetName (const char *name)
 Set the name of the TNamed. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad). More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 

Static Public Member Functions

static void BuildParallelCoord (TSelectorDraw *selector, Bool_t candle)
 Call constructor and add the variables. More...
 
static void SetEntryList (TParallelCoord *para, TEntryList *enlist)
 Set the entry lists of "para". More...
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 

Private Member Functions

void Init ()
 An axis used when displaying a candle chart. More...
 
void PaintEntries (TParallelCoordSelect *sel=NULL)
 Loop over the entries and paint them. More...
 
void SetAxesPosition ()
 Update the position of the axes. More...
 

Private Attributes

TGaxisfCandleAxis
 Current Selection being edited. More...
 
TEntryListfCurrentEntries
 
Long64_t fCurrentFirst
 
Long64_t fCurrentN
 
TParallelCoordSelectfCurrentSelection
 
Int_t fDotsSpacing
 
TEntryListfInitEntries
 
Color_t fLineColor
 
Width_t fLineWidth
 
Long64_t fNentries
 
UInt_t fNvar
 
TListfSelectList
 
TTreefTree
 
TString fTreeFileName
 
TString fTreeName
 Pointer to the TTree. More...
 
TListfVarList
 
Int_t fWeightCut
 

Additional Inherited Members

- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 

#include <TParallelCoord.h>

Inheritance diagram for TParallelCoord:
[legend]

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kVertDisplay 
kCurveDisplay 
kPaintEntries 
kLiveUpdate 
kGlobalScale 
kCandleChart 
kGlobalLogScale 

Definition at line 30 of file TParallelCoord.h.

Constructor & Destructor Documentation

◆ TParallelCoord() [1/3]

TParallelCoord::TParallelCoord ( )

Default constructor.

Definition at line 134 of file TParallelCoord.cxx.

◆ TParallelCoord() [2/3]

TParallelCoord::TParallelCoord ( Long64_t  nentries)

Constructor without a reference to a tree, the datas must be added afterwards with TParallelCoord::AddVariable(Double_t*,const char*).

Definition at line 145 of file TParallelCoord.cxx.

◆ TParallelCoord() [3/3]

TParallelCoord::TParallelCoord ( TTree tree,
Long64_t  nentries 
)

Normal constructor, the datas must be added afterwards with TParallelCoord::AddVariable(Double_t*,const char*).

Definition at line 160 of file TParallelCoord.cxx.

◆ ~TParallelCoord()

TParallelCoord::~TParallelCoord ( )

Destructor.

Definition at line 185 of file TParallelCoord.cxx.

Member Function Documentation

◆ AddSelection()

void TParallelCoord::AddSelection ( const char *  title)

Add a selection.

Definition at line 248 of file TParallelCoord.cxx.

◆ AddVariable() [1/2]

void TParallelCoord::AddVariable ( Double_t val,
const char *  title = "" 
)

Add a variable.

Definition at line 203 of file TParallelCoord.cxx.

◆ AddVariable() [2/2]

void TParallelCoord::AddVariable ( const char *  varexp)

Add a variable from an expression.

Definition at line 213 of file TParallelCoord.cxx.

◆ ApplySelectionToTree()

void TParallelCoord::ApplySelectionToTree ( )

Apply the current selection to the tree.

Definition at line 258 of file TParallelCoord.cxx.

◆ BuildParallelCoord()

void TParallelCoord::BuildParallelCoord ( TSelectorDraw selector,
Bool_t  candle 
)
static

Call constructor and add the variables.

Definition at line 294 of file TParallelCoord.cxx.

◆ CleanUpSelections()

void TParallelCoord::CleanUpSelections ( TParallelCoordRange range)

Clean up the selections from the ranges which could have been deleted when a variable has been deleted.

Definition at line 319 of file TParallelCoord.cxx.

◆ DeleteSelection()

void TParallelCoord::DeleteSelection ( TParallelCoordSelect sel)

Delete a selection.

Definition at line 331 of file TParallelCoord.cxx.

◆ DistancetoPrimitive()

Int_t TParallelCoord::DistancetoPrimitive ( Int_t  px,
Int_t  py 
)
virtual

Compute the distance from the TParallelCoord.

Reimplemented from TObject.

Definition at line 342 of file TParallelCoord.cxx.

◆ Draw()

void TParallelCoord::Draw ( Option_t options = "")
virtual

Draw the parallel coordinates graph.

Reimplemented from TObject.

Definition at line 365 of file TParallelCoord.cxx.

◆ ExecuteEvent()

void TParallelCoord::ExecuteEvent ( Int_t  entry,
Int_t  px,
Int_t  py 
)
virtual

Execute the corresponding entry.

Reimplemented from TObject.

Definition at line 436 of file TParallelCoord.cxx.

◆ GetCandleChart()

Bool_t TParallelCoord::GetCandleChart ( )
inline

Definition at line 81 of file TParallelCoord.h.

◆ GetCurrentFirst()

Long64_t TParallelCoord::GetCurrentFirst ( )
inline

Definition at line 82 of file TParallelCoord.h.

◆ GetCurrentN()

Long64_t TParallelCoord::GetCurrentN ( )
inline

Definition at line 83 of file TParallelCoord.h.

◆ GetCurrentSelection()

TParallelCoordSelect * TParallelCoord::GetCurrentSelection ( )

Return the selection currently being edited.

Definition at line 445 of file TParallelCoord.cxx.

◆ GetCurveDisplay()

Bool_t TParallelCoord::GetCurveDisplay ( ) const
inline

Definition at line 85 of file TParallelCoord.h.

◆ GetDotsSpacing()

Int_t TParallelCoord::GetDotsSpacing ( ) const
inline

Definition at line 86 of file TParallelCoord.h.

◆ GetEntryList()

TEntryList * TParallelCoord::GetEntryList ( Bool_t  sel = kTRUE)

Get the whole entry list or one for a selection.

Definition at line 457 of file TParallelCoord.cxx.

◆ GetGlobalLogScale()

Bool_t TParallelCoord::GetGlobalLogScale ( )
inline

Definition at line 91 of file TParallelCoord.h.

◆ GetGlobalMax()

Double_t TParallelCoord::GetGlobalMax ( )

return the global maximum.

Definition at line 481 of file TParallelCoord.cxx.

◆ GetGlobalMin()

Double_t TParallelCoord::GetGlobalMin ( )

return the global minimum.

Definition at line 495 of file TParallelCoord.cxx.

◆ GetGlobalScale()

Bool_t TParallelCoord::GetGlobalScale ( )
inline

Definition at line 90 of file TParallelCoord.h.

◆ GetLineColor()

Color_t TParallelCoord::GetLineColor ( )
inline

Definition at line 92 of file TParallelCoord.h.

◆ GetLineWidth()

Width_t TParallelCoord::GetLineWidth ( )
inline

Definition at line 93 of file TParallelCoord.h.

◆ GetNbins()

Int_t TParallelCoord::GetNbins ( )

get the binning of the histograms.

Definition at line 509 of file TParallelCoord.cxx.

◆ GetNentries()

Long64_t TParallelCoord::GetNentries ( )
inline

Definition at line 96 of file TParallelCoord.h.

◆ GetNvar()

UInt_t TParallelCoord::GetNvar ( )
inline

Definition at line 95 of file TParallelCoord.h.

◆ GetSelection()

TParallelCoordSelect * TParallelCoord::GetSelection ( const char *  title)

Get a selection from its title.

Definition at line 517 of file TParallelCoord.cxx.

◆ GetSelectList()

TList* TParallelCoord::GetSelectList ( )
inline

Definition at line 97 of file TParallelCoord.h.

◆ GetTree()

TTree * TParallelCoord::GetTree ( )

return the tree if fTree is defined.

If not, the method try to load the tree from fTreeFileName.

Definition at line 529 of file TParallelCoord.cxx.

◆ GetVariable() [1/2]

Double_t * TParallelCoord::GetVariable ( const char *  var)

Get the variables values from its title.

Definition at line 571 of file TParallelCoord.cxx.

◆ GetVariable() [2/2]

Double_t * TParallelCoord::GetVariable ( Int_t  i)

Get the variables values from its index.

Definition at line 583 of file TParallelCoord.cxx.

◆ GetVarList()

TList* TParallelCoord::GetVarList ( )
inline

Definition at line 102 of file TParallelCoord.h.

◆ GetVertDisplay()

Bool_t TParallelCoord::GetVertDisplay ( ) const
inline

Definition at line 103 of file TParallelCoord.h.

◆ GetWeightCut()

Int_t TParallelCoord::GetWeightCut ( ) const
inline

Definition at line 104 of file TParallelCoord.h.

◆ Init()

void TParallelCoord::Init ( void  )
private

An axis used when displaying a candle chart.

Initialise the data members of TParallelCoord.

Definition at line 592 of file TParallelCoord.cxx.

◆ Paint()

void TParallelCoord::Paint ( Option_t options = "")
virtual

Paint the parallel coordinates graph.

Reimplemented from TObject.

Definition at line 623 of file TParallelCoord.cxx.

◆ PaintEntries()

void TParallelCoord::PaintEntries ( TParallelCoordSelect sel = NULL)
private

Loop over the entries and paint them.

Definition at line 646 of file TParallelCoord.cxx.

◆ RemoveVariable() [1/2]

void TParallelCoord::RemoveVariable ( TParallelCoordVar var)

Delete a variable from the graph.

Definition at line 730 of file TParallelCoord.cxx.

◆ RemoveVariable() [2/2]

TParallelCoordVar * TParallelCoord::RemoveVariable ( const char *  var)

Delete the variable "vartitle" from the graph.

Definition at line 740 of file TParallelCoord.cxx.

◆ ResetTree()

void TParallelCoord::ResetTree ( )

Reset the tree entry list to the initial one..

Definition at line 758 of file TParallelCoord.cxx.

◆ SaveEntryLists()

void TParallelCoord::SaveEntryLists ( const char *  filename = "",
Bool_t  overwrite = kFALSE 
)

Save the entry lists in a root file "filename.root".

Definition at line 790 of file TParallelCoord.cxx.

◆ SavePrimitive()

void TParallelCoord::SavePrimitive ( std::ostream &  out,
Option_t options 
)
virtual

Save the TParallelCoord in a macro.

Reimplemented from TObject.

Definition at line 813 of file TParallelCoord.cxx.

◆ SaveTree()

void TParallelCoord::SaveTree ( const char *  filename = "",
Bool_t  overwrite = kFALSE 
)

Save the tree in a file if fTreeFileName == "".

Definition at line 882 of file TParallelCoord.cxx.

◆ SetAxesPosition()

void TParallelCoord::SetAxesPosition ( )
private

Update the position of the axes.

Definition at line 906 of file TParallelCoord.cxx.

◆ SetAxisHistogramBinning()

void TParallelCoord::SetAxisHistogramBinning ( Int_t  n = 100)

Set the same histogram axis binning for all axis.

Definition at line 950 of file TParallelCoord.cxx.

◆ SetAxisHistogramHeight()

void TParallelCoord::SetAxisHistogramHeight ( Double_t  h = 0.5)

Set the same histogram axis height for all axis.

Definition at line 960 of file TParallelCoord.cxx.

◆ SetAxisHistogramLineWidth()

void TParallelCoord::SetAxisHistogramLineWidth ( Int_t  lw = 2)

Set the same histogram axis line width for all axis.

Definition at line 1016 of file TParallelCoord.cxx.

◆ SetCandleChart()

void TParallelCoord::SetCandleChart ( Bool_t  can)

Set a candle chart display.

Definition at line 1026 of file TParallelCoord.cxx.

◆ SetCurrentEntries()

void TParallelCoord::SetCurrentEntries ( TEntryList entries)
inline

Definition at line 115 of file TParallelCoord.h.

◆ SetCurrentFirst()

void TParallelCoord::SetCurrentFirst ( Long64_t  f)

Set the first entry to be displayed.

Definition at line 1056 of file TParallelCoord.cxx.

◆ SetCurrentN()

void TParallelCoord::SetCurrentN ( Long64_t  n)

Set the number of entry to be displayed.

Definition at line 1073 of file TParallelCoord.cxx.

◆ SetCurrentSelection() [1/2]

TParallelCoordSelect * TParallelCoord::SetCurrentSelection ( const char *  title)

Set the selection being edited.

Definition at line 1090 of file TParallelCoord.cxx.

◆ SetCurrentSelection() [2/2]

void TParallelCoord::SetCurrentSelection ( TParallelCoordSelect sel)

Set the selection being edited.

Definition at line 1103 of file TParallelCoord.cxx.

◆ SetCurveDisplay()

virtual void TParallelCoord::SetCurveDisplay ( Bool_t  curve = 1)
inlinevirtual

Definition at line 114 of file TParallelCoord.h.

◆ SetDotsSpacing()

void TParallelCoord::SetDotsSpacing ( Int_t  s = 0)

Set dots spacing.

Modify the line style 11. If the canvas support transparency dot spacing is ignored.

Definition at line 1113 of file TParallelCoord.cxx.

◆ SetEntryList()

void TParallelCoord::SetEntryList ( TParallelCoord para,
TEntryList enlist 
)
static

Set the entry lists of "para".

Definition at line 1124 of file TParallelCoord.cxx.

◆ SetGlobalLogScale()

void TParallelCoord::SetGlobalLogScale ( Bool_t  lt)

All axes in log scale.

Definition at line 970 of file TParallelCoord.cxx.

◆ SetGlobalMax()

void TParallelCoord::SetGlobalMax ( Double_t  max)

Force all variables to adopt the same max.

Definition at line 1133 of file TParallelCoord.cxx.

◆ SetGlobalMin()

void TParallelCoord::SetGlobalMin ( Double_t  min)

Force all variables to adopt the same min.

Definition at line 1145 of file TParallelCoord.cxx.

◆ SetGlobalScale()

void TParallelCoord::SetGlobalScale ( Bool_t  gl)

Constraint all axes to the same scale.

Definition at line 983 of file TParallelCoord.cxx.

◆ SetInitEntries()

void TParallelCoord::SetInitEntries ( TEntryList entries)
inline

Definition at line 126 of file TParallelCoord.h.

◆ SetLineColor()

void TParallelCoord::SetLineColor ( Color_t  col)
inline

Definition at line 127 of file TParallelCoord.h.

◆ SetLineWidth()

void TParallelCoord::SetLineWidth ( Width_t  wid)
inline

Definition at line 128 of file TParallelCoord.h.

◆ SetLiveRangesUpdate()

void TParallelCoord::SetLiveRangesUpdate ( Bool_t  on)

If true, the pad is updated while the motion of a dragged range.

Definition at line 1157 of file TParallelCoord.cxx.

◆ SetNentries()

void TParallelCoord::SetNentries ( Long64_t  n)
inline

Definition at line 130 of file TParallelCoord.h.

◆ SetTree()

void TParallelCoord::SetTree ( TTree tree)
inline

Definition at line 131 of file TParallelCoord.h.

◆ SetVertDisplay()

void TParallelCoord::SetVertDisplay ( Bool_t  vert = kTRUE)

Set the vertical or horizontal display.

Definition at line 1168 of file TParallelCoord.cxx.

◆ SetWeightCut()

void TParallelCoord::SetWeightCut ( Int_t  w = 0)
inline

Definition at line 133 of file TParallelCoord.h.

◆ UnzoomAll()

void TParallelCoord::UnzoomAll ( )

Unzoom all variables.

Definition at line 1198 of file TParallelCoord.cxx.

Member Data Documentation

◆ fCandleAxis

TGaxis* TParallelCoord::fCandleAxis
private

Current Selection being edited.

Definition at line 57 of file TParallelCoord.h.

◆ fCurrentEntries

TEntryList* TParallelCoord::fCurrentEntries
private

Definition at line 49 of file TParallelCoord.h.

◆ fCurrentFirst

Long64_t TParallelCoord::fCurrentFirst
private

Definition at line 42 of file TParallelCoord.h.

◆ fCurrentN

Long64_t TParallelCoord::fCurrentN
private

Definition at line 43 of file TParallelCoord.h.

◆ fCurrentSelection

TParallelCoordSelect* TParallelCoord::fCurrentSelection
private

Definition at line 56 of file TParallelCoord.h.

◆ fDotsSpacing

Int_t TParallelCoord::fDotsSpacing
private

Definition at line 45 of file TParallelCoord.h.

◆ fInitEntries

TEntryList* TParallelCoord::fInitEntries
private

Definition at line 50 of file TParallelCoord.h.

◆ fLineColor

Color_t TParallelCoord::fLineColor
private

Definition at line 46 of file TParallelCoord.h.

◆ fLineWidth

Width_t TParallelCoord::fLineWidth
private

Definition at line 47 of file TParallelCoord.h.

◆ fNentries

Long64_t TParallelCoord::fNentries
private

Definition at line 44 of file TParallelCoord.h.

◆ fNvar

UInt_t TParallelCoord::fNvar
private

Definition at line 41 of file TParallelCoord.h.

◆ fSelectList

TList* TParallelCoord::fSelectList
private

Definition at line 55 of file TParallelCoord.h.

◆ fTree

TTree* TParallelCoord::fTree
private

Definition at line 51 of file TParallelCoord.h.

◆ fTreeFileName

TString TParallelCoord::fTreeFileName
private

Definition at line 53 of file TParallelCoord.h.

◆ fTreeName

TString TParallelCoord::fTreeName
private

Pointer to the TTree.

Definition at line 52 of file TParallelCoord.h.

◆ fVarList

TList* TParallelCoord::fVarList
private

Definition at line 54 of file TParallelCoord.h.

◆ fWeightCut

Int_t TParallelCoord::fWeightCut
private

Definition at line 48 of file TParallelCoord.h.


The documentation for this class was generated from the following files: