ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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));
return c1;
}
pict1_TParallelCoord_001.png

Some references:

Definition at line 32 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  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)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 

Public Member Functions

 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*). 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 AddVariable (Double_t *val, const char *title="")
 Add a variable. More...
 
void AddVariable (const char *varexp)
 Add a variable from an expression. More...
 
void AddSelection (const char *title)
 Add a selection. 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 RemoveVariable (TParallelCoordVar *var)
 Delete a variable from the graph. More...
 
TParallelCoordVarRemoveVariable (const char *var)
 Delete the variable "vartitle" from the graph. 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...
 
Double_t GetGlobalMin ()
 return the global minimum. More...
 
Double_t GetGlobalMax ()
 return the global maximum. More...
 
Bool_t GetGlobalScale ()
 
Bool_t GetGlobalLogScale ()
 
Color_t GetLineColor ()
 
Width_t GetLineWidth ()
 
Int_t GetNbins ()
 get the binning of the histograms. More...
 
UInt_t GetNvar ()
 
Long64_t GetNentries ()
 
TListGetSelectList ()
 
TParallelCoordSelectGetSelection (const char *title)
 Get a selection from its title. More...
 
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 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...
 
virtual void SetCurveDisplay (Bool_t curve=1)
 
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...
 
void SetDotsSpacing (Int_t s=0)
 Set dots spacing. More...
 
void SetGlobalScale (Bool_t gl)
 Constraint all axes to the same scale. More...
 
void SetGlobalLogScale (Bool_t)
 All axes in log scale. More...
 
void SetGlobalMin (Double_t min)
 Force all variables to adopt the same min. More...
 
void SetGlobalMax (Double_t max)
 Force all variables to adopt the same max. 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...
 
 ClassDef (TParallelCoord, 1)
 
- 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)
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. 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 SetName (const char *name)
 Change (i.e. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Change (i.e. set) all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Change (i.e. set) the title of the TNamed. More...
 
virtual void ls (Option_t *option="") const
 List TNamed name and title. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. 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 pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. 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 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 UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. 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...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. 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...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
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 UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. 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...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. 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)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. 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...
 
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...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. 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 void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat 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

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

Additional Inherited Members

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

#include <TParallelCoord.h>

Inheritance diagram for TParallelCoord:
[legend]

Member Enumeration Documentation

anonymous enum
Enumerator
kVertDisplay 
kCurveDisplay 
kPaintEntries 
kLiveUpdate 
kGlobalScale 
kCandleChart 
kGlobalLogScale 

Definition at line 34 of file TParallelCoord.h.

Constructor & Destructor Documentation

TParallelCoord::TParallelCoord ( )

Referenced by BuildParallelCoord().

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 146 of file TParallelCoord.cxx.

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 161 of file TParallelCoord.cxx.

TParallelCoord::~TParallelCoord ( )

Destructor.

Definition at line 186 of file TParallelCoord.cxx.

Member Function Documentation

void TParallelCoord::AddSelection ( const char *  title)

Add a selection.

Definition at line 249 of file TParallelCoord.cxx.

Referenced by TParallelCoordEditor::DoAddSelection(), TMVA::paracoor(), and parallelcoord().

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

Add a variable.

Definition at line 204 of file TParallelCoord.cxx.

Referenced by AddVariable(), BuildParallelCoord(), and TParallelCoordEditor::DoAddVariable().

void TParallelCoord::AddVariable ( const char *  varexp)

Add a variable from an expression.

Definition at line 214 of file TParallelCoord.cxx.

void TParallelCoord::ApplySelectionToTree ( )

Apply the current selection to the tree.

Definition at line 259 of file TParallelCoord.cxx.

Referenced by TParallelCoordEditor::DoApplySelect().

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

Call constructor and add the variables.

Definition at line 295 of file TParallelCoord.cxx.

TParallelCoord::ClassDef ( TParallelCoord  ,
 
)
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 320 of file TParallelCoord.cxx.

Referenced by TParallelCoordRange::Delete(), and TParallelCoordVar::~TParallelCoordVar().

void TParallelCoord::DeleteSelection ( TParallelCoordSelect sel)

Delete a selection.

Definition at line 332 of file TParallelCoord.cxx.

Referenced by TParallelCoordEditor::DoDeleteSelection().

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

Compute the distance from the TParallelCoord.

Reimplemented from TObject.

Definition at line 343 of file TParallelCoord.cxx.

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

Draw the parallel coordinates graph.

Reimplemented from TObject.

Definition at line 366 of file TParallelCoord.cxx.

Referenced by BuildParallelCoord().

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

Execute the corresponding entry.

Reimplemented from TObject.

Definition at line 437 of file TParallelCoord.cxx.

Bool_t TParallelCoord::GetCandleChart ( )
inline

Definition at line 85 of file TParallelCoord.h.

Long64_t TParallelCoord::GetCurrentFirst ( )
inline
Long64_t TParallelCoord::GetCurrentN ( )
inline
TParallelCoordSelect * TParallelCoord::GetCurrentSelection ( )
Bool_t TParallelCoord::GetCurveDisplay ( ) const
inline

Definition at line 89 of file TParallelCoord.h.

Referenced by TParallelCoordEditor::SetModel().

Int_t TParallelCoord::GetDotsSpacing ( ) const
inline

Definition at line 90 of file TParallelCoord.h.

Referenced by TParallelCoordEditor::SetModel().

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

Get the whole entry list or one for a selection.

Definition at line 458 of file TParallelCoord.cxx.

Referenced by AddVariable(), and ApplySelectionToTree().

Bool_t TParallelCoord::GetGlobalLogScale ( )
inline

Definition at line 95 of file TParallelCoord.h.

Double_t TParallelCoord::GetGlobalMax ( )

return the global maximum.

Definition at line 482 of file TParallelCoord.cxx.

Referenced by Draw(), SetCandleChart(), SetGlobalScale(), SetVertDisplay(), TParallelCoordVar::SetX(), and TParallelCoordVar::SetY().

Double_t TParallelCoord::GetGlobalMin ( )

return the global minimum.

Definition at line 496 of file TParallelCoord.cxx.

Referenced by Draw(), SetCandleChart(), SetGlobalScale(), SetVertDisplay(), TParallelCoordVar::SetX(), and TParallelCoordVar::SetY().

Bool_t TParallelCoord::GetGlobalScale ( )
inline

Definition at line 94 of file TParallelCoord.h.

Color_t TParallelCoord::GetLineColor ( )
inline
Width_t TParallelCoord::GetLineWidth ( )
inline

Definition at line 97 of file TParallelCoord.h.

Referenced by PaintEntries(), SavePrimitive(), and TParallelCoordEditor::SetModel().

Int_t TParallelCoord::GetNbins ( )

get the binning of the histograms.

Definition at line 510 of file TParallelCoord.cxx.

Long64_t TParallelCoord::GetNentries ( )
inline
UInt_t TParallelCoord::GetNvar ( )
inline
TParallelCoordSelect * TParallelCoord::GetSelection ( const char *  title)

Get a selection from its title.

Definition at line 518 of file TParallelCoord.cxx.

TList* TParallelCoord::GetSelectList ( )
inline
TTree * TParallelCoord::GetTree ( )

return the tree if fTree is defined.

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

Definition at line 530 of file TParallelCoord.cxx.

Referenced by Draw(), and Paint().

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

Get the variables values from its title.

Definition at line 572 of file TParallelCoord.cxx.

Double_t * TParallelCoord::GetVariable ( Int_t  i)

Get the variables values from its index.

Definition at line 584 of file TParallelCoord.cxx.

TList* TParallelCoord::GetVarList ( )
inline
Bool_t TParallelCoord::GetVertDisplay ( ) const
inline

Definition at line 107 of file TParallelCoord.h.

Int_t TParallelCoord::GetWeightCut ( ) const
inline

Definition at line 108 of file TParallelCoord.h.

Referenced by TParallelCoordEditor::SetModel().

void TParallelCoord::Init ( void  )
private

An axis used when displaying a candle chart.

Initialise the data members of TParallelCoord.

Definition at line 593 of file TParallelCoord.cxx.

Referenced by TParallelCoord().

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

Paint the parallel coordinates graph.

Reimplemented from TObject.

Definition at line 624 of file TParallelCoord.cxx.

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

Loop over the entries and paint them.

Definition at line 647 of file TParallelCoord.cxx.

Referenced by Paint().

void TParallelCoord::RemoveVariable ( TParallelCoordVar var)

Delete a variable from the graph.

Definition at line 731 of file TParallelCoord.cxx.

Referenced by TParallelCoordVar::DeleteVariable(), and TParallelCoordEditor::DoDeleteVar().

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

Delete the variable "vartitle" from the graph.

Definition at line 741 of file TParallelCoord.cxx.

void TParallelCoord::ResetTree ( )

Reset the tree entry list to the initial one..

Definition at line 759 of file TParallelCoord.cxx.

Referenced by TParallelCoordEditor::DoUnApply().

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

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

Definition at line 791 of file TParallelCoord.cxx.

Referenced by SavePrimitive().

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

Save the TParallelCoord in a macro.

Reimplemented from TObject.

Definition at line 814 of file TParallelCoord.cxx.

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

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

Definition at line 883 of file TParallelCoord.cxx.

Referenced by SavePrimitive().

void TParallelCoord::SetAxesPosition ( )
private

Update the position of the axes.

Definition at line 907 of file TParallelCoord.cxx.

Referenced by AddVariable(), Draw(), Paint(), and RemoveVariable().

void TParallelCoord::SetAxisHistogramBinning ( Int_t  n = 100)

Set the same histogram axis binning for all axis.

Definition at line 951 of file TParallelCoord.cxx.

Referenced by TParallelCoordEditor::DoHistBinning().

void TParallelCoord::SetAxisHistogramHeight ( Double_t  h = 0.5)

Set the same histogram axis height for all axis.

Definition at line 961 of file TParallelCoord.cxx.

void TParallelCoord::SetAxisHistogramLineWidth ( Int_t  lw = 2)

Set the same histogram axis line width for all axis.

Definition at line 1017 of file TParallelCoord.cxx.

Referenced by TParallelCoordEditor::DoHistWidth().

void TParallelCoord::SetCandleChart ( Bool_t  can)

Set a candle chart display.

Definition at line 1027 of file TParallelCoord.cxx.

void TParallelCoord::SetCurrentEntries ( TEntryList entries)
inline

Definition at line 119 of file TParallelCoord.h.

Referenced by SetEntryList().

void TParallelCoord::SetCurrentFirst ( Long64_t  f)
void TParallelCoord::SetCurrentN ( Long64_t  n)

Set the number of entry to be displayed.

Definition at line 1074 of file TParallelCoord.cxx.

Referenced by TParallelCoordEditor::DoEntriesToDraw(), TParallelCoordEditor::DoLiveEntriesToDraw(), and TParallelCoordEditor::DoNentries().

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

Set the selection being edited.

Definition at line 1091 of file TParallelCoord.cxx.

Referenced by TParallelCoordEditor::DoSelectionSelect(), and TParallelCoordRange::ExecuteEvent().

void TParallelCoord::SetCurrentSelection ( TParallelCoordSelect sel)

Set the selection being edited.

Definition at line 1104 of file TParallelCoord.cxx.

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

Definition at line 118 of file TParallelCoord.h.

Referenced by TParallelCoordEditor::DoLineType().

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 1114 of file TParallelCoord.cxx.

Referenced by TParallelCoordEditor::DoDotsSpacing(), TParallelCoordEditor::DoDotsSpacingField(), TParallelCoordEditor::DoLiveDotsSpacing(), parallelcoord(), and ~TParallelCoord().

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

Set the entry lists of "para".

Definition at line 1125 of file TParallelCoord.cxx.

void TParallelCoord::SetGlobalLogScale ( Bool_t  lt)

All axes in log scale.

Definition at line 971 of file TParallelCoord.cxx.

void TParallelCoord::SetGlobalMax ( Double_t  max)

Force all variables to adopt the same max.

Definition at line 1134 of file TParallelCoord.cxx.

Referenced by TParallelCoordVar::ExecuteEvent(), TParallelCoordVar::SetCurrentLimits(), and SetGlobalScale().

void TParallelCoord::SetGlobalMin ( Double_t  min)

Force all variables to adopt the same min.

Definition at line 1146 of file TParallelCoord.cxx.

Referenced by TParallelCoordVar::ExecuteEvent(), TParallelCoordVar::SetCurrentLimits(), and SetGlobalScale().

void TParallelCoord::SetGlobalScale ( Bool_t  gl)

Constraint all axes to the same scale.

Definition at line 984 of file TParallelCoord.cxx.

Referenced by Draw(), SetCandleChart(), and SetGlobalLogScale().

void TParallelCoord::SetInitEntries ( TEntryList entries)
inline

Definition at line 130 of file TParallelCoord.h.

Referenced by SetEntryList().

void TParallelCoord::SetLineColor ( Color_t  col)
inline

Definition at line 131 of file TParallelCoord.h.

Referenced by TParallelCoordEditor::DoGlobalLineColor().

void TParallelCoord::SetLineWidth ( Width_t  wid)
inline

Definition at line 132 of file TParallelCoord.h.

Referenced by TParallelCoordEditor::DoGlobalLineWidth().

void TParallelCoord::SetLiveRangesUpdate ( Bool_t  on)

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

Definition at line 1158 of file TParallelCoord.cxx.

Referenced by TParallelCoordEditor::DoDelayDrawing().

void TParallelCoord::SetNentries ( Long64_t  n)
inline

Definition at line 134 of file TParallelCoord.h.

void TParallelCoord::SetTree ( TTree tree)
inline

Definition at line 135 of file TParallelCoord.h.

void TParallelCoord::SetVertDisplay ( Bool_t  vert = kTRUE)

Set the vertical or horizontal display.

Definition at line 1169 of file TParallelCoord.cxx.

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

Unzoom all variables.

Definition at line 1199 of file TParallelCoord.cxx.

Member Data Documentation

TGaxis* TParallelCoord::fCandleAxis
private

Current Selection being edited.

Definition at line 61 of file TParallelCoord.h.

Referenced by Draw(), Init(), SetCandleChart(), SetGlobalScale(), SetVertDisplay(), and ~TParallelCoord().

TEntryList* TParallelCoord::fCurrentEntries
private
Long64_t TParallelCoord::fCurrentFirst
private
Long64_t TParallelCoord::fCurrentN
private
TParallelCoordSelect* TParallelCoord::fCurrentSelection
private
Int_t TParallelCoord::fDotsSpacing
private

Definition at line 49 of file TParallelCoord.h.

Referenced by GetDotsSpacing(), Init(), PaintEntries(), SavePrimitive(), and SetDotsSpacing().

TEntryList* TParallelCoord::fInitEntries
private
Color_t TParallelCoord::fLineColor
private

Definition at line 50 of file TParallelCoord.h.

Referenced by GetLineColor(), Init(), and SetLineColor().

Width_t TParallelCoord::fLineWidth
private

Definition at line 51 of file TParallelCoord.h.

Referenced by GetLineWidth(), Init(), and SetLineWidth().

Long64_t TParallelCoord::fNentries
private
UInt_t TParallelCoord::fNvar
private
TList* TParallelCoord::fSelectList
private
TTree* TParallelCoord::fTree
private
TString TParallelCoord::fTreeFileName
private

Definition at line 57 of file TParallelCoord.h.

Referenced by GetTree(), Init(), SavePrimitive(), SaveTree(), and TParallelCoord().

TString TParallelCoord::fTreeName
private

Pointer to the TTree.

Definition at line 56 of file TParallelCoord.h.

Referenced by GetTree(), Init(), SavePrimitive(), SaveTree(), and TParallelCoord().

TList* TParallelCoord::fVarList
private
Int_t TParallelCoord::fWeightCut
private

Definition at line 52 of file TParallelCoord.h.

Referenced by GetWeightCut(), Init(), PaintEntries(), SavePrimitive(), and SetWeightCut().

Collaboration diagram for TParallelCoord:
[legend]

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